diff --git a/CODEOWNERS b/CODEOWNERS
index 53c2514c8363..752f00fb91f6 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -56,7 +56,7 @@
/specification/recoveryservicessiterecovery/ @avneeshrai
/specification/redis/ @siddharthchatrolams @timlovellsmith
/specification/relay/ @sethmanheim @v-ajnava
-/specification/resources/ @rajshah11 @stankovski @vivsriaus
+/specification/resources/ @Tiano2017 @rajshah11 @vivsriaus
/specification/scheduler/ @pinwang81
/specification/search/ @brjohnstmsft
/specification/serialconsole/ @amitchat @craigw @asinn826
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 4693cf53101a..fdc2e18fd8e7 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -106,9 +106,18 @@ 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/custom-words.txt b/custom-words.txt
index 723d58b8b58e..9d8c37eb3a84 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -104,6 +104,7 @@ asyncoperation
australiaeast
australiasoutheast
authenticatable
+Authenticode
authorizationrules
authsettings
authsid
@@ -160,6 +161,7 @@ bangla
baremetal
BATCHAI
BCDR
+BCWG
beider
Bfor
bigint
@@ -452,7 +454,9 @@ eventhubconnections
eventhubs
eventtime
eventtypes
+EWDG
exceptiontype
+exfiltrate
Exfiltration
explicitlist
exportconfiguration
@@ -460,6 +464,7 @@ exportdevices
exporterrors
exportstatus
externaldatasources
+EYWQ
faceapi
facelists
facetable
@@ -568,6 +573,7 @@ HHMMSS
hierarchicalentities
hierarchyid
hivevar
+HKEY
homepagetest
Horovod
hostnames
@@ -607,6 +613,7 @@ inkrecognizer
inlinecount
innererror
Inprogress
+integrationaccount
Intelli
intervaled
intset
@@ -644,6 +651,7 @@ ITSM
janedoe
japaneast
japanwest
+Jedobot
Jira
jobcompletion
jobid
@@ -697,6 +705,7 @@ ldaps
ldom
leavingpool
LEDs
+Lfot
libtrust
lifecycle
lifetimejobstats
@@ -736,6 +745,7 @@ lookback
lovins
lowpriority
lpar
+LQUP
LRO's
Lucene
Lumia
@@ -853,6 +863,7 @@ Ngfw
NICs
nillable
nist
+NLSTEXT
noaccess
noaction
noartifactsource
@@ -922,6 +933,7 @@ overridable
OWASP
oxxm
pageable
+paramref
PARAVIRTUAL
Passthrough
patternanyentities
@@ -1119,6 +1131,8 @@ rhel
Rolledback
rollouts
rolloverdetails
+rosettanetprocessconfigurations
+rootfs
rotatediskencryptionkey
routable
routingendpointhealth
@@ -1211,6 +1225,7 @@ skiptoken
SKU's
skus
SLES
+Sllb
slotsdiffs
slotsswap
slowlog
@@ -1439,6 +1454,7 @@ vcenter
Vcore
Vcores
Vertica
+Vfyc
vhds
videosearch
virtualclusters
@@ -1459,6 +1475,7 @@ vmextension
VMILR
vmimage
vmname
+VMQS
vmsizes
VMSS
VMSSVM
@@ -1504,6 +1521,7 @@ westeurope
westindia
Westlake
westus
+WGXM
whitelisted
Whitelisting
Whitelistings
@@ -1518,14 +1536,16 @@ workspaces
wrapkey
WSFC
WTGCTBG
+WWKZ
XBing
Xeon
Xero
XSMB
+Ywhk
YYMMDD
Zabbix
Zerto
Zilla
ziplist
Zoho
-zset
+zset
\ No newline at end of file
diff --git a/preproduction-azure-pipelines.yml b/preproduction-azure-pipelines.yml
index 06d4aa41adb4..657e2213f9bc 100644
--- a/preproduction-azure-pipelines.yml
+++ b/preproduction-azure-pipelines.yml
@@ -44,6 +44,6 @@ jobs:
displayName: 'npm install'
inputs:
verbose: false
- - script: 'npm install -D @azure/avocado@0.5.0'
+ - script: 'npm install -D @azure/avocado@0.5.1'
- script: './node_modules/.bin/avocado'
displayName: 'Avocado'
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-05-05-preview/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-05-05-preview/examples/SmartGroups_List.json
index 6d4db43e6ef6..4a71a51d322b 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-05-05-preview/examples/SmartGroups_List.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-05-05-preview/examples/SmartGroups_List.json
@@ -6,7 +6,7 @@
"responses": {
"200": {
"body": {
- "nextLink": "",
+ "nextLink": null,
"value": [
{
"properties": {
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-11-02-privatepreview/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-11-02-privatepreview/examples/SmartGroups_List.json
index 6d4db43e6ef6..4a71a51d322b 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-11-02-privatepreview/examples/SmartGroups_List.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2018-11-02-privatepreview/examples/SmartGroups_List.json
@@ -6,7 +6,7 @@
"responses": {
"200": {
"body": {
- "nextLink": "",
+ "nextLink": null,
"value": [
{
"properties": {
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-03-01-preview/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-03-01-preview/examples/SmartGroups_List.json
index 5328a3e9b156..bf4722bcdb59 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-03-01-preview/examples/SmartGroups_List.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-03-01-preview/examples/SmartGroups_List.json
@@ -6,7 +6,7 @@
"responses": {
"200": {
"body": {
- "nextLink": "",
+ "nextLink": null,
"value": [
{
"properties": {
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 5009c56a25a8..11df28bec57b 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
@@ -922,10 +922,11 @@
"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.",
- "type": "string",
"in": "path",
- "required": true
+ "required": true,
+ "type": "string",
+ "description": "The ID of the target subscription.",
+ "minLength": 1
},
"resourceGroupName": {
"name": "resourceGroupName",
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 b5ded5a48718..44c2aa47c866 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
@@ -6,7 +6,7 @@
"responses": {
"200": {
"body": {
- "nextLink": "",
+ "nextLink": null,
"value": [
{
"properties": {
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/examples/SmartGroups_List.json
index 5328a3e9b156..bf4722bcdb59 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/examples/SmartGroups_List.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2018-05-05/examples/SmartGroups_List.json
@@ -6,7 +6,7 @@
"responses": {
"200": {
"body": {
- "nextLink": "",
+ "nextLink": null,
"value": [
{
"properties": {
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json
index 41e98f4677d1..a1ffc5e988ae 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_List.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "nextLink": "",
+ "nextLink": null,
"value": [
{
"id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule",
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json
index b99f2f31186d..ab56c8966b07 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "nextLink": "",
+ "nextLink": null,
"value": [
{
"id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule",
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartGroups_List.json
index 5328a3e9b156..bf4722bcdb59 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartGroups_List.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartGroups_List.json
@@ -6,7 +6,7 @@
"responses": {
"200": {
"body": {
- "nextLink": "",
+ "nextLink": null,
"value": [
{
"properties": {
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
index 0306e06fb2bc..45d3bcaa439b 100644
--- 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
@@ -616,7 +616,8 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The Azure subscription id."
+ "description": "The ID of the target subscription.",
+ "minLength": 1
},
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
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
index 4eeed4d36ade..3de1aac35a0a 100644
--- 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
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "nextLink": "",
+ "nextLink": null,
"value": [
{
"id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule",
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
index 4d63effb728d..f1e3a4f46cfb 100644
--- 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
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "nextLink": "",
+ "nextLink": null,
"value": [
{
"id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json
index 0f543b0ff4f4..921c722c09d6 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json
@@ -253,6 +253,9 @@
},
"ApiManagementCreateApiWithOpenIdConnect": {
"$ref": "./examples/ApiManagementCreateApiWithOpenIdConnect.json"
+ },
+ "ApiManagementCreateApiUsingImportOverrideServiceUrl": {
+ "$ref": "./examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json"
}
},
"parameters": [
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json
index 246f91a4172b..e1215791cdac 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json
@@ -7,7 +7,6 @@
"apiId": "PetStoreTemplate2",
"operationId": "newoperations",
"parameters": {
- "name": "newoperation",
"properties": {
"displayName": "createUser2",
"method": "POST",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json
new file mode 100644
index 000000000000..2f4c8b34db4d
--- /dev/null
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "serviceName": "apimService1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-01-01",
+ "subscriptionId": "subid",
+ "apiId": "apidocs",
+ "parameters": {
+ "properties": {
+ "format": "swagger-link",
+ "value": "http://apimpimportviaurl.azurewebsites.net/api/apidocs/",
+ "path": "petstoreapi123",
+ "serviceUrl": "http://petstore.swagger.wordnik.com/api"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apidocs",
+ "type": "Microsoft.ApiManagement/service/apis",
+ "name": "apidocs",
+ "properties": {
+ "displayName": "Swagger Sample App",
+ "apiRevision": "1",
+ "description": "This is a sample server Petstore server. You can find out more about Swagger \n at http://swagger.wordnik.com or on irc.freenode.net, #swagger. For this sample,\n you can use the api key \"special-key\" to test the authorization filters",
+ "serviceUrl": "http://petstore.swagger.wordnik.com/api",
+ "path": "petstoreapi123",
+ "protocols": [
+ "https"
+ ],
+ "subscriptionKeyParameterNames": {
+ "header": "Ocp-Apim-Subscription-Key",
+ "query": "subscription-key"
+ },
+ "isCurrent": true
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apidocs?api-version=2019-01-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apidocs",
+ "type": "Microsoft.ApiManagement/service/apis",
+ "name": "apidocs",
+ "properties": {
+ "displayName": "Swagger Sample App",
+ "apiRevision": "1",
+ "description": "This is a sample server Petstore server. You can find out more about Swagger \n at http://swagger.wordnik.com or on irc.freenode.net, #swagger. For this sample,\n you can use the api key \"special-key\" to test the authorization filters",
+ "serviceUrl": "http://petstore.swagger.wordnik.com/api",
+ "path": "petstoreapi123",
+ "protocols": [
+ "https"
+ ],
+ "subscriptionKeyParameterNames": {
+ "header": "Ocp-Apim-Subscription-Key",
+ "query": "subscription-key"
+ },
+ "isCurrent": true
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json
index b76da01ca69b..c474d25e8d44 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json
@@ -52,7 +52,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json
index 35e339ec5f39..9ff62be79504 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json
@@ -53,7 +53,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json
index c2c5bd98b56c..b2475e0bc144 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json
@@ -61,7 +61,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json
index e4e158374032..de83204af8b6 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json
@@ -40,7 +40,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json
index 8a3e429afa29..19547fede910 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json
@@ -69,7 +69,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobStreamsByJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobStreamsByJob.json
index 281c68d11d7e..4574ed145242 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobStreamsByJob.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobStreamsByJob.json
@@ -30,7 +30,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobsByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobsByAutomationAccount.json
index c38c2c6dc9fc..80a14e4270a8 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobsByAutomationAccount.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/job/listJobsByAutomationAccount.json
@@ -46,7 +46,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json
index 82e3d16a6598..c8d85100fe6f 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json
@@ -8,137 +8,139 @@
},
"responses": {
"200": {
- "value": [
- {
- "name": "testpatch-01",
- "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01",
- "properties": {
- "updateConfiguration": {
- "operatingSystem": "Windows",
- "windows": {
- "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates",
- "excludedKbNumbers": null
- },
- "linux": null,
- "targets": {
- "azureQueries": [
- {
- "scope": [
- "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0",
- "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d"
- ],
- "tagSettings": {
- "tags": {
- "tag1": [
- "tag1Value1",
- "tag1Value2"
- ],
- "tag2": [
- "tag2Value1",
- "tag2Value2"
- ]
+ "body": {
+ "value": [
+ {
+ "name": "testpatch-01",
+ "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01",
+ "properties": {
+ "updateConfiguration": {
+ "operatingSystem": "Windows",
+ "windows": {
+ "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates",
+ "excludedKbNumbers": null
+ },
+ "linux": null,
+ "targets": {
+ "azureQueries": [
+ {
+ "scope": [
+ "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0",
+ "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d"
+ ],
+ "tagSettings": {
+ "tags": {
+ "tag1": [
+ "tag1Value1",
+ "tag1Value2"
+ ],
+ "tag2": [
+ "tag2Value1",
+ "tag2Value2"
+ ]
+ },
+ "filterOperator": "All"
},
- "filterOperator": "All"
- },
- "locations": null
- }
- ]
+ "locations": null
+ }
+ ]
+ },
+ "duration": "PT2H",
+ "azureVirtualMachines": [
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01",
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02",
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03"
+ ],
+ "nonAzureComputerNames": null
},
- "duration": "PT2H",
- "azureVirtualMachines": [
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01",
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02",
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03"
- ],
- "nonAzureComputerNames": null
- },
- "tasks": {
- "preTask": {
- "source": "HelloWorld",
- "parameters": {
- "COMPUTERNAME": "Computer1"
+ "tasks": {
+ "preTask": {
+ "source": "HelloWorld",
+ "parameters": {
+ "COMPUTERNAME": "Computer1"
+ }
+ },
+ "postTask": {
+ "source": "GetCache",
+ "parameters": null
}
},
- "postTask": {
- "source": "GetCache",
- "parameters": null
- }
- },
- "frequency": "Week",
- "startTime": "2017-10-19T12:22:00-07:00",
- "creationTime": "2017-10-19T18:54:50.5233333+00:00",
- "lastModifiedTime": "2017-10-19T18:54:50.68+00:00",
- "provisioningState": "Succeeded",
- "nextRun": "2017-10-23T12:22:00-07:00"
- }
- },
- {
- "name": "testpatch-02",
- "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02",
- "properties": {
- "updateConfiguration": {
- "operatingSystem": "Windows",
- "windows": {
- "includedUpdateClassifications": "Critical, FeaturePack",
- "excludedKbNumbers": null
- },
- "linux": null,
- "targets": {
- "azureQueries": [
- {
- "scope": [
- "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0",
- "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d"
- ],
- "tagSettings": {
- "tags": {
- "tag1": [
- "tag1Value1",
- "tag1Value2"
- ],
- "tag2": [
- "tag2Value1",
- "tag2Value2"
- ]
+ "frequency": "Week",
+ "startTime": "2017-10-19T12:22:00-07:00",
+ "creationTime": "2017-10-19T18:54:50.5233333+00:00",
+ "lastModifiedTime": "2017-10-19T18:54:50.68+00:00",
+ "provisioningState": "Succeeded",
+ "nextRun": "2017-10-23T12:22:00-07:00"
+ }
+ },
+ {
+ "name": "testpatch-02",
+ "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02",
+ "properties": {
+ "updateConfiguration": {
+ "operatingSystem": "Windows",
+ "windows": {
+ "includedUpdateClassifications": "Critical, FeaturePack",
+ "excludedKbNumbers": null
+ },
+ "linux": null,
+ "targets": {
+ "azureQueries": [
+ {
+ "scope": [
+ "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0",
+ "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d"
+ ],
+ "tagSettings": {
+ "tags": {
+ "tag1": [
+ "tag1Value1",
+ "tag1Value2"
+ ],
+ "tag2": [
+ "tag2Value1",
+ "tag2Value2"
+ ]
+ },
+ "filterOperator": "All"
},
- "filterOperator": "All"
- },
- "locations": [
- "Japan East",
- "UK South"
- ]
- }
- ]
+ "locations": [
+ "Japan East",
+ "UK South"
+ ]
+ }
+ ]
+ },
+ "duration": "PT2H30M",
+ "azureVirtualMachines": [
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-04",
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05",
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06"
+ ],
+ "nonAzureComputerNames": null
},
- "duration": "PT2H30M",
- "azureVirtualMachines": [
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-04",
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05",
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06"
- ],
- "nonAzureComputerNames": null
- },
- "tasks": {
- "preTask": {
- "source": "HelloWorld",
- "parameters": {
- "COMPUTERNAME": "Computer1"
+ "tasks": {
+ "preTask": {
+ "source": "HelloWorld",
+ "parameters": {
+ "COMPUTERNAME": "Computer1"
+ }
+ },
+ "postTask": {
+ "source": "GetCache",
+ "parameters": null
}
},
- "postTask": {
- "source": "GetCache",
- "parameters": null
- }
- },
- "frequency": "Hour",
- "startTime": "2018-05-05T12:26:00-07:00",
- "creationTime": "2017-08-11T21:52:02.7733333+00:00",
- "lastModifiedTime": "2017-08-11T21:52:22.88+00:00",
- "provisioningState": "Succeeded",
- "nextRun": "2018-05-05T12:26:00-07:00"
+ "frequency": "Hour",
+ "startTime": "2018-05-05T12:26:00-07:00",
+ "creationTime": "2017-08-11T21:52:02.7733333+00:00",
+ "lastModifiedTime": "2017-08-11T21:52:22.88+00:00",
+ "provisioningState": "Succeeded",
+ "nextRun": "2018-05-05T12:26:00-07:00"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json
index b530088216c7..64c2e4fe21df 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json
@@ -9,86 +9,88 @@
},
"responses": {
"200": {
- "value": [
- {
- "name": "testpatch-01",
- "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01",
- "properties": {
- "updateConfiguration": {
- "operatingSystem": "Windows",
- "windows": {
- "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates",
- "excludedKbNumbers": null
+ "body": {
+ "value": [
+ {
+ "name": "testpatch-01",
+ "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01",
+ "properties": {
+ "updateConfiguration": {
+ "operatingSystem": "Windows",
+ "windows": {
+ "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates",
+ "excludedKbNumbers": null
+ },
+ "linux": null,
+ "duration": "PT2H",
+ "azureVirtualMachines": [
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01",
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02",
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03"
+ ],
+ "nonAzureComputerNames": null
},
- "linux": null,
- "duration": "PT2H",
- "azureVirtualMachines": [
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01",
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02",
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03"
- ],
- "nonAzureComputerNames": null
- },
- "tasks": {
- "preTask": {
- "source": "HelloWorld",
- "parameters": {
- "COMPUTERNAME": "Computer1"
+ "tasks": {
+ "preTask": {
+ "source": "HelloWorld",
+ "parameters": {
+ "COMPUTERNAME": "Computer1"
+ }
+ },
+ "postTask": {
+ "source": "GetCache",
+ "parameters": null
}
},
- "postTask": {
- "source": "GetCache",
- "parameters": null
- }
- },
- "frequency": "Week",
- "startTime": "2017-10-19T12:22:00-07:00",
- "creationTime": "2017-10-19T18:54:50.5233333+00:00",
- "lastModifiedTime": "2017-10-19T18:54:50.68+00:00",
- "provisioningState": "Succeeded",
- "nextRun": "2017-10-23T12:22:00-07:00"
- }
- },
- {
- "name": "testpatch-02",
- "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02",
- "properties": {
- "updateConfiguration": {
- "operatingSystem": "Windows",
- "windows": {
- "includedUpdateClassifications": "Critical, FeaturePack",
- "excludedKbNumbers": null
+ "frequency": "Week",
+ "startTime": "2017-10-19T12:22:00-07:00",
+ "creationTime": "2017-10-19T18:54:50.5233333+00:00",
+ "lastModifiedTime": "2017-10-19T18:54:50.68+00:00",
+ "provisioningState": "Succeeded",
+ "nextRun": "2017-10-23T12:22:00-07:00"
+ }
+ },
+ {
+ "name": "testpatch-02",
+ "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02",
+ "properties": {
+ "updateConfiguration": {
+ "operatingSystem": "Windows",
+ "windows": {
+ "includedUpdateClassifications": "Critical, FeaturePack",
+ "excludedKbNumbers": null
+ },
+ "linux": null,
+ "duration": "PT2H30M",
+ "azureVirtualMachines": [
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01",
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05",
+ "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06"
+ ],
+ "nonAzureComputerNames": null
},
- "linux": null,
- "duration": "PT2H30M",
- "azureVirtualMachines": [
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01",
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05",
- "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06"
- ],
- "nonAzureComputerNames": null
- },
- "tasks": {
- "preTask": {
- "source": "HelloWorld",
- "parameters": {
- "COMPUTERNAME": "Computer1"
+ "tasks": {
+ "preTask": {
+ "source": "HelloWorld",
+ "parameters": {
+ "COMPUTERNAME": "Computer1"
+ }
+ },
+ "postTask": {
+ "source": "GetCache",
+ "parameters": null
}
},
- "postTask": {
- "source": "GetCache",
- "parameters": null
- }
- },
- "frequency": "Hour",
- "startTime": "2018-05-05T12:26:00-07:00",
- "creationTime": "2017-08-11T21:52:02.7733333+00:00",
- "lastModifiedTime": "2017-08-11T21:52:22.88+00:00",
- "provisioningState": "Succeeded",
- "nextRun": "2018-05-05T12:26:00-07:00"
+ "frequency": "Hour",
+ "startTime": "2018-05-05T12:26:00-07:00",
+ "creationTime": "2017-08-11T21:52:02.7733333+00:00",
+ "lastModifiedTime": "2017-08-11T21:52:22.88+00:00",
+ "provisioningState": "Succeeded",
+ "nextRun": "2018-05-05T12:26:00-07:00"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json
index b0205a86f424..033059e52b9f 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json
@@ -7,83 +7,85 @@
},
"responses": {
"200": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl1",
- "name": "sampleSourceControl1",
- "properties": {
- "creationTime": "2017-03-28T22:59:00.937+00:00",
- "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
- "repoUrl": "https://github.com/SampleUserRepro/PowerShell-1",
- "branch": "master",
- "path": "/sampleFolder/sampleFolder2",
- "autoSync": true,
- "publishRunbook": true,
- "sourceType": "GitHub",
- "description": "my description"
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl1",
+ "name": "sampleSourceControl1",
+ "properties": {
+ "creationTime": "2017-03-28T22:59:00.937+00:00",
+ "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
+ "repoUrl": "https://github.com/SampleUserRepro/PowerShell-1",
+ "branch": "master",
+ "folderPath": "/sampleFolder/sampleFolder2",
+ "autoSync": true,
+ "publishRunbook": true,
+ "sourceType": "GitHub",
+ "description": "my description"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl2",
+ "name": "sampleSourceControl2",
+ "properties": {
+ "creationTime": "2017-03-28T22:59:00.937+00:00",
+ "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
+ "repoUrl": "https://github.com/SampleUserRepro/PowerShell-2",
+ "branch": "master",
+ "folderPath": "/sampleFolder/sampleFolder2",
+ "autoSync": true,
+ "publishRunbook": true,
+ "sourceType": "GitHub",
+ "description": "my description"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl3",
+ "name": "sampleSourceControl3",
+ "properties": {
+ "creationTime": "2017-03-28T22:59:00.937+00:00",
+ "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
+ "repoUrl": "https://github.com/SampleUserRepro/PowerShell-3",
+ "branch": "master",
+ "folderPath": "/sampleFolder/sampleFolder2",
+ "autoSync": true,
+ "publishRunbook": true,
+ "sourceType": "GitHub",
+ "description": "my description"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl4",
+ "name": "sampleSourceControl4",
+ "properties": {
+ "creationTime": "2017-03-28T22:59:00.937+00:00",
+ "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
+ "repoUrl": "https://github.com/SampleUserRepro/PowerShell-4",
+ "branch": "master",
+ "folderPath": "/sampleFolder/sampleFolder2",
+ "autoSync": true,
+ "publishRunbook": true,
+ "sourceType": "GitHub",
+ "description": "my description"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl5",
+ "name": "sampleSourceControl5",
+ "properties": {
+ "creationTime": "2017-03-28T22:59:00.937+00:00",
+ "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
+ "repoUrl": "https://github.com/SampleUserRepro/PowerShell-5",
+ "branch": "master",
+ "folderPath": "/sampleFolder/sampleFolder2",
+ "autoSync": true,
+ "publishRunbook": true,
+ "sourceType": "GitHub",
+ "description": "my description"
+ }
}
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl2",
- "name": "sampleSourceControl2",
- "properties": {
- "creationTime": "2017-03-28T22:59:00.937+00:00",
- "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
- "repoUrl": "https://github.com/SampleUserRepro/PowerShell-2",
- "branch": "master",
- "path": "/sampleFolder/sampleFolder2",
- "autoSync": true,
- "publishRunbook": true,
- "sourceType": "GitHub",
- "description": "my description"
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl3",
- "name": "sampleSourceControl3",
- "properties": {
- "creationTime": "2017-03-28T22:59:00.937+00:00",
- "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
- "repoUrl": "https://github.com/SampleUserRepro/PowerShell-3",
- "branch": "master",
- "path": "/sampleFolder/sampleFolder2",
- "autoSync": true,
- "publishRunbook": true,
- "sourceType": "GitHub",
- "description": "my description"
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl4",
- "name": "sampleSourceControl4",
- "properties": {
- "creationTime": "2017-03-28T22:59:00.937+00:00",
- "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
- "repoUrl": "https://github.com/SampleUserRepro/PowerShell-4",
- "branch": "master",
- "path": "/sampleFolder/sampleFolder2",
- "autoSync": true,
- "publishRunbook": true,
- "sourceType": "GitHub",
- "description": "my description"
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl5",
- "name": "sampleSourceControl5",
- "properties": {
- "creationTime": "2017-03-28T22:59:00.937+00:00",
- "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
- "repoUrl": "https://github.com/SampleUserRepro/PowerShell-5",
- "branch": "master",
- "path": "/sampleFolder/sampleFolder2",
- "autoSync": true,
- "publishRunbook": true,
- "sourceType": "GitHub",
- "description": "my description"
- }
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json
index 74b0cd612a54..1f0f9be130d3 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json
@@ -8,18 +8,20 @@
},
"responses": {
"200": {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl",
- "name": "sampleSourceControl",
- "properties": {
- "creationTime": "2017-03-28T22:59:00.937+00:00",
- "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
- "repoUrl": "https://github.com/SampleUserRepro/PowerShell",
- "branch": "master",
- "path": "/folderOne/folderTwo",
- "autoSync": true,
- "publishRunbook": true,
- "sourceType": "GitHub",
- "description": "my description"
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl",
+ "name": "sampleSourceControl",
+ "properties": {
+ "creationTime": "2017-03-28T22:59:00.937+00:00",
+ "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
+ "repoUrl": "https://github.com/SampleUserRepro/PowerShell",
+ "branch": "master",
+ "folderPath": "/folderOne/folderTwo",
+ "autoSync": true,
+ "publishRunbook": true,
+ "sourceType": "GitHub",
+ "description": "my description"
+ }
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json
index 12b61964999f..8514c2796098 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json
@@ -40,7 +40,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json
index 073ee0cee2fa..ff8dbfbce4c3 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json
@@ -8,14 +8,16 @@
},
"responses": {
"200": {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable",
- "name": "sampleVariable",
- "properties": {
- "creationTime": "2017-03-28T22:59:00.937+00:00",
- "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
- "isEncrypted": false,
- "value": "\"ComputerName.domain.com\"",
- "description": "my description"
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable",
+ "name": "sampleVariable",
+ "properties": {
+ "creationTime": "2017-03-28T22:59:00.937+00:00",
+ "lastModifiedTime": "2017-03-28T22:59:00.937+00:00",
+ "isEncrypted": false,
+ "value": "\"ComputerName.domain.com\"",
+ "description": "my description"
+ }
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listTestJobStreamsByJob.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listTestJobStreamsByJob.json
index a1679b13a591..bf8805f16155 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listTestJobStreamsByJob.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listTestJobStreamsByJob.json
@@ -30,7 +30,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json
index 8e82d07ddd23..66a9a1c9a55d 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json
@@ -7,1109 +7,1111 @@
},
"responses": {
"200": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable",
- "name": "sampleVariable",
- "properties": {
- "creationTime": "2017-03-28T23:00:53.363+00:00",
- "lastModifiedTime": "2017-03-28T23:00:57.987+00:00",
- "isEncrypted": false,
- "value": "\"ComputerName3.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable0",
- "name": "sampleVariable0",
- "properties": {
- "creationTime": "2017-03-28T23:00:58.847+00:00",
- "lastModifiedTime": "2017-03-28T23:00:58.847+00:00",
- "isEncrypted": false,
- "value": "\"server0.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable1",
- "name": "sampleVariable1",
- "properties": {
- "creationTime": "2017-03-28T23:00:59.69+00:00",
- "lastModifiedTime": "2017-03-28T23:00:59.69+00:00",
- "isEncrypted": false,
- "value": "\"server1.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable10",
- "name": "sampleVariable10",
- "properties": {
- "creationTime": "2017-03-28T23:01:08.393+00:00",
- "lastModifiedTime": "2017-03-28T23:01:08.393+00:00",
- "isEncrypted": false,
- "value": "\"server10.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable100",
- "name": "sampleVariable100",
- "properties": {
- "creationTime": "2017-03-28T23:02:27.38+00:00",
- "lastModifiedTime": "2017-03-28T23:02:27.38+00:00",
- "isEncrypted": false,
- "value": "\"server100.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable101",
- "name": "sampleVariable101",
- "properties": {
- "creationTime": "2017-03-28T23:02:28.223+00:00",
- "lastModifiedTime": "2017-03-28T23:02:28.223+00:00",
- "isEncrypted": false,
- "value": "\"server101.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable102",
- "name": "sampleVariable102",
- "properties": {
- "creationTime": "2017-03-28T23:02:28.99+00:00",
- "lastModifiedTime": "2017-03-28T23:02:28.99+00:00",
- "isEncrypted": false,
- "value": "\"server102.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable103",
- "name": "sampleVariable103",
- "properties": {
- "creationTime": "2017-03-28T23:02:29.77+00:00",
- "lastModifiedTime": "2017-03-28T23:02:29.77+00:00",
- "isEncrypted": false,
- "value": "\"server103.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable104",
- "name": "sampleVariable104",
- "properties": {
- "creationTime": "2017-03-28T23:02:30.647+00:00",
- "lastModifiedTime": "2017-03-28T23:02:30.647+00:00",
- "isEncrypted": false,
- "value": "\"server104.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable105",
- "name": "sampleVariable105",
- "properties": {
- "creationTime": "2017-03-28T23:02:31.49+00:00",
- "lastModifiedTime": "2017-03-28T23:02:31.49+00:00",
- "isEncrypted": false,
- "value": "\"server105.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable106",
- "name": "sampleVariable106",
- "properties": {
- "creationTime": "2017-03-28T23:02:32.303+00:00",
- "lastModifiedTime": "2017-03-28T23:02:32.303+00:00",
- "isEncrypted": false,
- "value": "\"server106.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable107",
- "name": "sampleVariable107",
- "properties": {
- "creationTime": "2017-03-28T23:02:34.583+00:00",
- "lastModifiedTime": "2017-03-28T23:02:34.583+00:00",
- "isEncrypted": false,
- "value": "\"server107.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable108",
- "name": "sampleVariable108",
- "properties": {
- "creationTime": "2017-03-28T23:02:35.367+00:00",
- "lastModifiedTime": "2017-03-28T23:02:35.367+00:00",
- "isEncrypted": false,
- "value": "\"server108.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable109",
- "name": "sampleVariable109",
- "properties": {
- "creationTime": "2017-03-28T23:02:36.147+00:00",
- "lastModifiedTime": "2017-03-28T23:02:36.147+00:00",
- "isEncrypted": false,
- "value": "\"server109.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable11",
- "name": "sampleVariable11",
- "properties": {
- "creationTime": "2017-03-28T23:01:09.27+00:00",
- "lastModifiedTime": "2017-03-28T23:01:09.27+00:00",
- "isEncrypted": false,
- "value": "\"server11.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable12",
- "name": "sampleVariable12",
- "properties": {
- "creationTime": "2017-03-28T23:01:10.16+00:00",
- "lastModifiedTime": "2017-03-28T23:01:10.16+00:00",
- "isEncrypted": false,
- "value": "\"server12.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable13",
- "name": "sampleVariable13",
- "properties": {
- "creationTime": "2017-03-28T23:01:11.003+00:00",
- "lastModifiedTime": "2017-03-28T23:01:11.003+00:00",
- "isEncrypted": false,
- "value": "\"server13.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable14",
- "name": "sampleVariable14",
- "properties": {
- "creationTime": "2017-03-28T23:01:11.863+00:00",
- "lastModifiedTime": "2017-03-28T23:01:11.863+00:00",
- "isEncrypted": false,
- "value": "\"server14.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable15",
- "name": "sampleVariable15",
- "properties": {
- "creationTime": "2017-03-28T23:01:12.74+00:00",
- "lastModifiedTime": "2017-03-28T23:01:12.74+00:00",
- "isEncrypted": false,
- "value": "\"server15.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable16",
- "name": "sampleVariable16",
- "properties": {
- "creationTime": "2017-03-28T23:01:13.597+00:00",
- "lastModifiedTime": "2017-03-28T23:01:13.597+00:00",
- "isEncrypted": false,
- "value": "\"server16.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable17",
- "name": "sampleVariable17",
- "properties": {
- "creationTime": "2017-03-28T23:01:16.287+00:00",
- "lastModifiedTime": "2017-03-28T23:01:16.287+00:00",
- "isEncrypted": false,
- "value": "\"server17.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable18",
- "name": "sampleVariable18",
- "properties": {
- "creationTime": "2017-03-28T23:01:17.16+00:00",
- "lastModifiedTime": "2017-03-28T23:01:17.16+00:00",
- "isEncrypted": false,
- "value": "\"server18.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable19",
- "name": "sampleVariable19",
- "properties": {
- "creationTime": "2017-03-28T23:01:18.02+00:00",
- "lastModifiedTime": "2017-03-28T23:01:18.02+00:00",
- "isEncrypted": false,
- "value": "\"server19.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable2",
- "name": "sampleVariable2",
- "properties": {
- "creationTime": "2017-03-28T23:01:00.567+00:00",
- "lastModifiedTime": "2017-03-28T23:01:00.567+00:00",
- "isEncrypted": false,
- "value": "\"server2.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable20",
- "name": "sampleVariable20",
- "properties": {
- "creationTime": "2017-03-28T23:01:18.847+00:00",
- "lastModifiedTime": "2017-03-28T23:01:18.847+00:00",
- "isEncrypted": false,
- "value": "\"server20.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable21",
- "name": "sampleVariable21",
- "properties": {
- "creationTime": "2017-03-28T23:01:19.723+00:00",
- "lastModifiedTime": "2017-03-28T23:01:19.723+00:00",
- "isEncrypted": false,
- "value": "\"server21.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable22",
- "name": "sampleVariable22",
- "properties": {
- "creationTime": "2017-03-28T23:01:21.597+00:00",
- "lastModifiedTime": "2017-03-28T23:01:21.597+00:00",
- "isEncrypted": false,
- "value": "\"server22.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable23",
- "name": "sampleVariable23",
- "properties": {
- "creationTime": "2017-03-28T23:01:22.393+00:00",
- "lastModifiedTime": "2017-03-28T23:01:22.393+00:00",
- "isEncrypted": false,
- "value": "\"server23.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable24",
- "name": "sampleVariable24",
- "properties": {
- "creationTime": "2017-03-28T23:01:23.207+00:00",
- "lastModifiedTime": "2017-03-28T23:01:23.207+00:00",
- "isEncrypted": false,
- "value": "\"server24.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable25",
- "name": "sampleVariable25",
- "properties": {
- "creationTime": "2017-03-28T23:01:23.973+00:00",
- "lastModifiedTime": "2017-03-28T23:01:23.973+00:00",
- "isEncrypted": false,
- "value": "\"server25.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable26",
- "name": "sampleVariable26",
- "properties": {
- "creationTime": "2017-03-28T23:01:24.8+00:00",
- "lastModifiedTime": "2017-03-28T23:01:24.8+00:00",
- "isEncrypted": false,
- "value": "\"server26.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable27",
- "name": "sampleVariable27",
- "properties": {
- "creationTime": "2017-03-28T23:01:25.597+00:00",
- "lastModifiedTime": "2017-03-28T23:01:25.597+00:00",
- "isEncrypted": false,
- "value": "\"server27.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable28",
- "name": "sampleVariable28",
- "properties": {
- "creationTime": "2017-03-28T23:01:26.55+00:00",
- "lastModifiedTime": "2017-03-28T23:01:26.55+00:00",
- "isEncrypted": false,
- "value": "\"server28.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable29",
- "name": "sampleVariable29",
- "properties": {
- "creationTime": "2017-03-28T23:01:27.457+00:00",
- "lastModifiedTime": "2017-03-28T23:01:27.457+00:00",
- "isEncrypted": false,
- "value": "\"server29.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable3",
- "name": "sampleVariable3",
- "properties": {
- "creationTime": "2017-03-28T23:01:01.427+00:00",
- "lastModifiedTime": "2017-03-28T23:01:01.427+00:00",
- "isEncrypted": false,
- "value": "\"server3.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable30",
- "name": "sampleVariable30",
- "properties": {
- "creationTime": "2017-03-28T23:01:28.253+00:00",
- "lastModifiedTime": "2017-03-28T23:01:28.253+00:00",
- "isEncrypted": false,
- "value": "\"server30.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable31",
- "name": "sampleVariable31",
- "properties": {
- "creationTime": "2017-03-28T23:01:29.05+00:00",
- "lastModifiedTime": "2017-03-28T23:01:29.05+00:00",
- "isEncrypted": false,
- "value": "\"server31.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable32",
- "name": "sampleVariable32",
- "properties": {
- "creationTime": "2017-03-28T23:01:29.817+00:00",
- "lastModifiedTime": "2017-03-28T23:01:29.817+00:00",
- "isEncrypted": false,
- "value": "\"server32.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable33",
- "name": "sampleVariable33",
- "properties": {
- "creationTime": "2017-03-28T23:01:30.643+00:00",
- "lastModifiedTime": "2017-03-28T23:01:30.643+00:00",
- "isEncrypted": false,
- "value": "\"server33.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable34",
- "name": "sampleVariable34",
- "properties": {
- "creationTime": "2017-03-28T23:01:31.473+00:00",
- "lastModifiedTime": "2017-03-28T23:01:31.473+00:00",
- "isEncrypted": false,
- "value": "\"server34.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable35",
- "name": "sampleVariable35",
- "properties": {
- "creationTime": "2017-03-28T23:01:32.253+00:00",
- "lastModifiedTime": "2017-03-28T23:01:32.253+00:00",
- "isEncrypted": false,
- "value": "\"server35.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable36",
- "name": "sampleVariable36",
- "properties": {
- "creationTime": "2017-03-28T23:01:33.27+00:00",
- "lastModifiedTime": "2017-03-28T23:01:33.27+00:00",
- "isEncrypted": false,
- "value": "\"server36.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable37",
- "name": "sampleVariable37",
- "properties": {
- "creationTime": "2017-03-28T23:01:34.037+00:00",
- "lastModifiedTime": "2017-03-28T23:01:34.037+00:00",
- "isEncrypted": false,
- "value": "\"server37.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable38",
- "name": "sampleVariable38",
- "properties": {
- "creationTime": "2017-03-28T23:01:34.817+00:00",
- "lastModifiedTime": "2017-03-28T23:01:34.817+00:00",
- "isEncrypted": false,
- "value": "\"server38.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable39",
- "name": "sampleVariable39",
- "properties": {
- "creationTime": "2017-03-28T23:01:35.613+00:00",
- "lastModifiedTime": "2017-03-28T23:01:35.613+00:00",
- "isEncrypted": false,
- "value": "\"server39.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable4",
- "name": "sampleVariable4",
- "properties": {
- "creationTime": "2017-03-28T23:01:02.38+00:00",
- "lastModifiedTime": "2017-03-28T23:01:02.38+00:00",
- "isEncrypted": false,
- "value": "\"server4.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable40",
- "name": "sampleVariable40",
- "properties": {
- "creationTime": "2017-03-28T23:01:36.397+00:00",
- "lastModifiedTime": "2017-03-28T23:01:36.397+00:00",
- "isEncrypted": false,
- "value": "\"server40.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable41",
- "name": "sampleVariable41",
- "properties": {
- "creationTime": "2017-03-28T23:01:37.19+00:00",
- "lastModifiedTime": "2017-03-28T23:01:37.19+00:00",
- "isEncrypted": false,
- "value": "\"server41.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable42",
- "name": "sampleVariable42",
- "properties": {
- "creationTime": "2017-03-28T23:01:38.037+00:00",
- "lastModifiedTime": "2017-03-28T23:01:38.037+00:00",
- "isEncrypted": false,
- "value": "\"server42.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable43",
- "name": "sampleVariable43",
- "properties": {
- "creationTime": "2017-03-28T23:01:38.88+00:00",
- "lastModifiedTime": "2017-03-28T23:01:38.88+00:00",
- "isEncrypted": false,
- "value": "\"server43.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable44",
- "name": "sampleVariable44",
- "properties": {
- "creationTime": "2017-03-28T23:01:39.707+00:00",
- "lastModifiedTime": "2017-03-28T23:01:39.707+00:00",
- "isEncrypted": false,
- "value": "\"server44.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable45",
- "name": "sampleVariable45",
- "properties": {
- "creationTime": "2017-03-28T23:01:41.457+00:00",
- "lastModifiedTime": "2017-03-28T23:01:41.457+00:00",
- "isEncrypted": false,
- "value": "\"server45.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable46",
- "name": "sampleVariable46",
- "properties": {
- "creationTime": "2017-03-28T23:01:42.253+00:00",
- "lastModifiedTime": "2017-03-28T23:01:42.253+00:00",
- "isEncrypted": false,
- "value": "\"server46.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable47",
- "name": "sampleVariable47",
- "properties": {
- "creationTime": "2017-03-28T23:01:43.083+00:00",
- "lastModifiedTime": "2017-03-28T23:01:43.083+00:00",
- "isEncrypted": false,
- "value": "\"server47.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable48",
- "name": "sampleVariable48",
- "properties": {
- "creationTime": "2017-03-28T23:01:43.957+00:00",
- "lastModifiedTime": "2017-03-28T23:01:43.957+00:00",
- "isEncrypted": false,
- "value": "\"server48.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable49",
- "name": "sampleVariable49",
- "properties": {
- "creationTime": "2017-03-28T23:01:44.74+00:00",
- "lastModifiedTime": "2017-03-28T23:01:44.74+00:00",
- "isEncrypted": false,
- "value": "\"server49.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable5",
- "name": "sampleVariable5",
- "properties": {
- "creationTime": "2017-03-28T23:01:03.253+00:00",
- "lastModifiedTime": "2017-03-28T23:01:03.253+00:00",
- "isEncrypted": false,
- "value": "\"server5.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable50",
- "name": "sampleVariable50",
- "properties": {
- "creationTime": "2017-03-28T23:01:46.35+00:00",
- "lastModifiedTime": "2017-03-28T23:01:46.35+00:00",
- "isEncrypted": false,
- "value": "\"server50.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable51",
- "name": "sampleVariable51",
- "properties": {
- "creationTime": "2017-03-28T23:01:47.1+00:00",
- "lastModifiedTime": "2017-03-28T23:01:47.1+00:00",
- "isEncrypted": false,
- "value": "\"server51.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable52",
- "name": "sampleVariable52",
- "properties": {
- "creationTime": "2017-03-28T23:01:47.88+00:00",
- "lastModifiedTime": "2017-03-28T23:01:47.88+00:00",
- "isEncrypted": false,
- "value": "\"server52.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable53",
- "name": "sampleVariable53",
- "properties": {
- "creationTime": "2017-03-28T23:01:48.677+00:00",
- "lastModifiedTime": "2017-03-28T23:01:48.677+00:00",
- "isEncrypted": false,
- "value": "\"server53.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable54",
- "name": "sampleVariable54",
- "properties": {
- "creationTime": "2017-03-28T23:01:49.473+00:00",
- "lastModifiedTime": "2017-03-28T23:01:49.473+00:00",
- "isEncrypted": false,
- "value": "\"server54.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable55",
- "name": "sampleVariable55",
- "properties": {
- "creationTime": "2017-03-28T23:01:51.16+00:00",
- "lastModifiedTime": "2017-03-28T23:01:51.16+00:00",
- "isEncrypted": false,
- "value": "\"server55.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable56",
- "name": "sampleVariable56",
- "properties": {
- "creationTime": "2017-03-28T23:01:51.927+00:00",
- "lastModifiedTime": "2017-03-28T23:01:51.927+00:00",
- "isEncrypted": false,
- "value": "\"server56.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable57",
- "name": "sampleVariable57",
- "properties": {
- "creationTime": "2017-03-28T23:01:52.757+00:00",
- "lastModifiedTime": "2017-03-28T23:01:52.757+00:00",
- "isEncrypted": false,
- "value": "\"server57.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable58",
- "name": "sampleVariable58",
- "properties": {
- "creationTime": "2017-03-28T23:01:53.55+00:00",
- "lastModifiedTime": "2017-03-28T23:01:53.55+00:00",
- "isEncrypted": false,
- "value": "\"server58.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable59",
- "name": "sampleVariable59",
- "properties": {
- "creationTime": "2017-03-28T23:01:54.317+00:00",
- "lastModifiedTime": "2017-03-28T23:01:54.317+00:00",
- "isEncrypted": false,
- "value": "\"server59.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable6",
- "name": "sampleVariable6",
- "properties": {
- "creationTime": "2017-03-28T23:01:04.143+00:00",
- "lastModifiedTime": "2017-03-28T23:01:04.143+00:00",
- "isEncrypted": false,
- "value": "\"server6.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable60",
- "name": "sampleVariable60",
- "properties": {
- "creationTime": "2017-03-28T23:01:55.177+00:00",
- "lastModifiedTime": "2017-03-28T23:01:55.177+00:00",
- "isEncrypted": false,
- "value": "\"server60.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable61",
- "name": "sampleVariable61",
- "properties": {
- "creationTime": "2017-03-28T23:01:56.583+00:00",
- "lastModifiedTime": "2017-03-28T23:01:56.583+00:00",
- "isEncrypted": false,
- "value": "\"server61.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable62",
- "name": "sampleVariable62",
- "properties": {
- "creationTime": "2017-03-28T23:01:57.27+00:00",
- "lastModifiedTime": "2017-03-28T23:01:57.27+00:00",
- "isEncrypted": false,
- "value": "\"server62.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable63",
- "name": "sampleVariable63",
- "properties": {
- "creationTime": "2017-03-28T23:01:57.943+00:00",
- "lastModifiedTime": "2017-03-28T23:01:57.943+00:00",
- "isEncrypted": false,
- "value": "\"server63.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable64",
- "name": "sampleVariable64",
- "properties": {
- "creationTime": "2017-03-28T23:01:58.66+00:00",
- "lastModifiedTime": "2017-03-28T23:01:58.66+00:00",
- "isEncrypted": false,
- "value": "\"server64.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable65",
- "name": "sampleVariable65",
- "properties": {
- "creationTime": "2017-03-28T23:01:59.35+00:00",
- "lastModifiedTime": "2017-03-28T23:01:59.35+00:00",
- "isEncrypted": false,
- "value": "\"server65.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable66",
- "name": "sampleVariable66",
- "properties": {
- "creationTime": "2017-03-28T23:02:00.02+00:00",
- "lastModifiedTime": "2017-03-28T23:02:00.02+00:00",
- "isEncrypted": false,
- "value": "\"server66.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable67",
- "name": "sampleVariable67",
- "properties": {
- "creationTime": "2017-03-28T23:02:01.507+00:00",
- "lastModifiedTime": "2017-03-28T23:02:01.507+00:00",
- "isEncrypted": false,
- "value": "\"server67.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable68",
- "name": "sampleVariable68",
- "properties": {
- "creationTime": "2017-03-28T23:02:02.177+00:00",
- "lastModifiedTime": "2017-03-28T23:02:02.177+00:00",
- "isEncrypted": false,
- "value": "\"server68.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable69",
- "name": "sampleVariable69",
- "properties": {
- "creationTime": "2017-03-28T23:02:02.863+00:00",
- "lastModifiedTime": "2017-03-28T23:02:02.863+00:00",
- "isEncrypted": false,
- "value": "\"server69.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable7",
- "name": "sampleVariable7",
- "properties": {
- "creationTime": "2017-03-28T23:01:05.393+00:00",
- "lastModifiedTime": "2017-03-28T23:01:05.393+00:00",
- "isEncrypted": false,
- "value": "\"server7.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable70",
- "name": "sampleVariable70",
- "properties": {
- "creationTime": "2017-03-28T23:02:03.6+00:00",
- "lastModifiedTime": "2017-03-28T23:02:03.6+00:00",
- "isEncrypted": false,
- "value": "\"server70.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable71",
- "name": "sampleVariable71",
- "properties": {
- "creationTime": "2017-03-28T23:02:04.333+00:00",
- "lastModifiedTime": "2017-03-28T23:02:04.333+00:00",
- "isEncrypted": false,
- "value": "\"server71.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable72",
- "name": "sampleVariable72",
- "properties": {
- "creationTime": "2017-03-28T23:02:05.1+00:00",
- "lastModifiedTime": "2017-03-28T23:02:05.1+00:00",
- "isEncrypted": false,
- "value": "\"server72.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable73",
- "name": "sampleVariable73",
- "properties": {
- "creationTime": "2017-03-28T23:02:05.833+00:00",
- "lastModifiedTime": "2017-03-28T23:02:05.833+00:00",
- "isEncrypted": false,
- "value": "\"server73.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable74",
- "name": "sampleVariable74",
- "properties": {
- "creationTime": "2017-03-28T23:02:06.647+00:00",
- "lastModifiedTime": "2017-03-28T23:02:06.647+00:00",
- "isEncrypted": false,
- "value": "\"server74.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable75",
- "name": "sampleVariable75",
- "properties": {
- "creationTime": "2017-03-28T23:02:07.363+00:00",
- "lastModifiedTime": "2017-03-28T23:02:07.363+00:00",
- "isEncrypted": false,
- "value": "\"server75.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable76",
- "name": "sampleVariable76",
- "properties": {
- "creationTime": "2017-03-28T23:02:08.1+00:00",
- "lastModifiedTime": "2017-03-28T23:02:08.1+00:00",
- "isEncrypted": false,
- "value": "\"server76.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable77",
- "name": "sampleVariable77",
- "properties": {
- "creationTime": "2017-03-28T23:02:08.82+00:00",
- "lastModifiedTime": "2017-03-28T23:02:08.82+00:00",
- "isEncrypted": false,
- "value": "\"server77.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable78",
- "name": "sampleVariable78",
- "properties": {
- "creationTime": "2017-03-28T23:02:09.553+00:00",
- "lastModifiedTime": "2017-03-28T23:02:09.553+00:00",
- "isEncrypted": false,
- "value": "\"server78.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable79",
- "name": "sampleVariable79",
- "properties": {
- "creationTime": "2017-03-28T23:02:10.63+00:00",
- "lastModifiedTime": "2017-03-28T23:02:10.63+00:00",
- "isEncrypted": false,
- "value": "\"server79.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable8",
- "name": "sampleVariable8",
- "properties": {
- "creationTime": "2017-03-28T23:01:06.52+00:00",
- "lastModifiedTime": "2017-03-28T23:01:06.52+00:00",
- "isEncrypted": false,
- "value": "\"server8.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable80",
- "name": "sampleVariable80",
- "properties": {
- "creationTime": "2017-03-28T23:02:11.32+00:00",
- "lastModifiedTime": "2017-03-28T23:02:11.32+00:00",
- "isEncrypted": false,
- "value": "\"server80.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable81",
- "name": "sampleVariable81",
- "properties": {
- "creationTime": "2017-03-28T23:02:12.02+00:00",
- "lastModifiedTime": "2017-03-28T23:02:12.02+00:00",
- "isEncrypted": false,
- "value": "\"server81.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable82",
- "name": "sampleVariable82",
- "properties": {
- "creationTime": "2017-03-28T23:02:12.723+00:00",
- "lastModifiedTime": "2017-03-28T23:02:12.723+00:00",
- "isEncrypted": false,
- "value": "\"server82.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable83",
- "name": "sampleVariable83",
- "properties": {
- "creationTime": "2017-03-28T23:02:13.443+00:00",
- "lastModifiedTime": "2017-03-28T23:02:13.443+00:00",
- "isEncrypted": false,
- "value": "\"server83.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable84",
- "name": "sampleVariable84",
- "properties": {
- "creationTime": "2017-03-28T23:02:14.16+00:00",
- "lastModifiedTime": "2017-03-28T23:02:14.16+00:00",
- "isEncrypted": false,
- "value": "\"server84.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable85",
- "name": "sampleVariable85",
- "properties": {
- "creationTime": "2017-03-28T23:02:15.177+00:00",
- "lastModifiedTime": "2017-03-28T23:02:15.177+00:00",
- "isEncrypted": false,
- "value": "\"server85.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable86",
- "name": "sampleVariable86",
- "properties": {
- "creationTime": "2017-03-28T23:02:16.053+00:00",
- "lastModifiedTime": "2017-03-28T23:02:16.053+00:00",
- "isEncrypted": false,
- "value": "\"server86.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable87",
- "name": "sampleVariable87",
- "properties": {
- "creationTime": "2017-03-28T23:02:16.82+00:00",
- "lastModifiedTime": "2017-03-28T23:02:16.82+00:00",
- "isEncrypted": false,
- "value": "\"server87.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable88",
- "name": "sampleVariable88",
- "properties": {
- "creationTime": "2017-03-28T23:02:17.583+00:00",
- "lastModifiedTime": "2017-03-28T23:02:17.583+00:00",
- "isEncrypted": false,
- "value": "\"server88.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable89",
- "name": "sampleVariable89",
- "properties": {
- "creationTime": "2017-03-28T23:02:18.333+00:00",
- "lastModifiedTime": "2017-03-28T23:02:18.333+00:00",
- "isEncrypted": false,
- "value": "\"server89.domain.com\"",
- "description": null
- }
- }
- ],
- "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables?api-version=2015-10-31&$skip=100"
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable",
+ "name": "sampleVariable",
+ "properties": {
+ "creationTime": "2017-03-28T23:00:53.363+00:00",
+ "lastModifiedTime": "2017-03-28T23:00:57.987+00:00",
+ "isEncrypted": false,
+ "value": "\"ComputerName3.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable0",
+ "name": "sampleVariable0",
+ "properties": {
+ "creationTime": "2017-03-28T23:00:58.847+00:00",
+ "lastModifiedTime": "2017-03-28T23:00:58.847+00:00",
+ "isEncrypted": false,
+ "value": "\"server0.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable1",
+ "name": "sampleVariable1",
+ "properties": {
+ "creationTime": "2017-03-28T23:00:59.69+00:00",
+ "lastModifiedTime": "2017-03-28T23:00:59.69+00:00",
+ "isEncrypted": false,
+ "value": "\"server1.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable10",
+ "name": "sampleVariable10",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:08.393+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:08.393+00:00",
+ "isEncrypted": false,
+ "value": "\"server10.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable100",
+ "name": "sampleVariable100",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:27.38+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:27.38+00:00",
+ "isEncrypted": false,
+ "value": "\"server100.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable101",
+ "name": "sampleVariable101",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:28.223+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:28.223+00:00",
+ "isEncrypted": false,
+ "value": "\"server101.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable102",
+ "name": "sampleVariable102",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:28.99+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:28.99+00:00",
+ "isEncrypted": false,
+ "value": "\"server102.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable103",
+ "name": "sampleVariable103",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:29.77+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:29.77+00:00",
+ "isEncrypted": false,
+ "value": "\"server103.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable104",
+ "name": "sampleVariable104",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:30.647+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:30.647+00:00",
+ "isEncrypted": false,
+ "value": "\"server104.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable105",
+ "name": "sampleVariable105",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:31.49+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:31.49+00:00",
+ "isEncrypted": false,
+ "value": "\"server105.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable106",
+ "name": "sampleVariable106",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:32.303+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:32.303+00:00",
+ "isEncrypted": false,
+ "value": "\"server106.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable107",
+ "name": "sampleVariable107",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:34.583+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:34.583+00:00",
+ "isEncrypted": false,
+ "value": "\"server107.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable108",
+ "name": "sampleVariable108",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:35.367+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:35.367+00:00",
+ "isEncrypted": false,
+ "value": "\"server108.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable109",
+ "name": "sampleVariable109",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:36.147+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:36.147+00:00",
+ "isEncrypted": false,
+ "value": "\"server109.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable11",
+ "name": "sampleVariable11",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:09.27+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:09.27+00:00",
+ "isEncrypted": false,
+ "value": "\"server11.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable12",
+ "name": "sampleVariable12",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:10.16+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:10.16+00:00",
+ "isEncrypted": false,
+ "value": "\"server12.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable13",
+ "name": "sampleVariable13",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:11.003+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:11.003+00:00",
+ "isEncrypted": false,
+ "value": "\"server13.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable14",
+ "name": "sampleVariable14",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:11.863+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:11.863+00:00",
+ "isEncrypted": false,
+ "value": "\"server14.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable15",
+ "name": "sampleVariable15",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:12.74+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:12.74+00:00",
+ "isEncrypted": false,
+ "value": "\"server15.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable16",
+ "name": "sampleVariable16",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:13.597+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:13.597+00:00",
+ "isEncrypted": false,
+ "value": "\"server16.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable17",
+ "name": "sampleVariable17",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:16.287+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:16.287+00:00",
+ "isEncrypted": false,
+ "value": "\"server17.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable18",
+ "name": "sampleVariable18",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:17.16+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:17.16+00:00",
+ "isEncrypted": false,
+ "value": "\"server18.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable19",
+ "name": "sampleVariable19",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:18.02+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:18.02+00:00",
+ "isEncrypted": false,
+ "value": "\"server19.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable2",
+ "name": "sampleVariable2",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:00.567+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:00.567+00:00",
+ "isEncrypted": false,
+ "value": "\"server2.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable20",
+ "name": "sampleVariable20",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:18.847+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:18.847+00:00",
+ "isEncrypted": false,
+ "value": "\"server20.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable21",
+ "name": "sampleVariable21",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:19.723+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:19.723+00:00",
+ "isEncrypted": false,
+ "value": "\"server21.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable22",
+ "name": "sampleVariable22",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:21.597+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:21.597+00:00",
+ "isEncrypted": false,
+ "value": "\"server22.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable23",
+ "name": "sampleVariable23",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:22.393+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:22.393+00:00",
+ "isEncrypted": false,
+ "value": "\"server23.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable24",
+ "name": "sampleVariable24",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:23.207+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:23.207+00:00",
+ "isEncrypted": false,
+ "value": "\"server24.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable25",
+ "name": "sampleVariable25",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:23.973+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:23.973+00:00",
+ "isEncrypted": false,
+ "value": "\"server25.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable26",
+ "name": "sampleVariable26",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:24.8+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:24.8+00:00",
+ "isEncrypted": false,
+ "value": "\"server26.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable27",
+ "name": "sampleVariable27",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:25.597+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:25.597+00:00",
+ "isEncrypted": false,
+ "value": "\"server27.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable28",
+ "name": "sampleVariable28",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:26.55+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:26.55+00:00",
+ "isEncrypted": false,
+ "value": "\"server28.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable29",
+ "name": "sampleVariable29",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:27.457+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:27.457+00:00",
+ "isEncrypted": false,
+ "value": "\"server29.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable3",
+ "name": "sampleVariable3",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:01.427+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:01.427+00:00",
+ "isEncrypted": false,
+ "value": "\"server3.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable30",
+ "name": "sampleVariable30",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:28.253+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:28.253+00:00",
+ "isEncrypted": false,
+ "value": "\"server30.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable31",
+ "name": "sampleVariable31",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:29.05+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:29.05+00:00",
+ "isEncrypted": false,
+ "value": "\"server31.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable32",
+ "name": "sampleVariable32",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:29.817+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:29.817+00:00",
+ "isEncrypted": false,
+ "value": "\"server32.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable33",
+ "name": "sampleVariable33",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:30.643+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:30.643+00:00",
+ "isEncrypted": false,
+ "value": "\"server33.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable34",
+ "name": "sampleVariable34",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:31.473+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:31.473+00:00",
+ "isEncrypted": false,
+ "value": "\"server34.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable35",
+ "name": "sampleVariable35",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:32.253+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:32.253+00:00",
+ "isEncrypted": false,
+ "value": "\"server35.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable36",
+ "name": "sampleVariable36",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:33.27+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:33.27+00:00",
+ "isEncrypted": false,
+ "value": "\"server36.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable37",
+ "name": "sampleVariable37",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:34.037+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:34.037+00:00",
+ "isEncrypted": false,
+ "value": "\"server37.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable38",
+ "name": "sampleVariable38",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:34.817+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:34.817+00:00",
+ "isEncrypted": false,
+ "value": "\"server38.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable39",
+ "name": "sampleVariable39",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:35.613+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:35.613+00:00",
+ "isEncrypted": false,
+ "value": "\"server39.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable4",
+ "name": "sampleVariable4",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:02.38+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:02.38+00:00",
+ "isEncrypted": false,
+ "value": "\"server4.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable40",
+ "name": "sampleVariable40",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:36.397+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:36.397+00:00",
+ "isEncrypted": false,
+ "value": "\"server40.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable41",
+ "name": "sampleVariable41",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:37.19+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:37.19+00:00",
+ "isEncrypted": false,
+ "value": "\"server41.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable42",
+ "name": "sampleVariable42",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:38.037+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:38.037+00:00",
+ "isEncrypted": false,
+ "value": "\"server42.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable43",
+ "name": "sampleVariable43",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:38.88+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:38.88+00:00",
+ "isEncrypted": false,
+ "value": "\"server43.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable44",
+ "name": "sampleVariable44",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:39.707+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:39.707+00:00",
+ "isEncrypted": false,
+ "value": "\"server44.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable45",
+ "name": "sampleVariable45",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:41.457+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:41.457+00:00",
+ "isEncrypted": false,
+ "value": "\"server45.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable46",
+ "name": "sampleVariable46",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:42.253+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:42.253+00:00",
+ "isEncrypted": false,
+ "value": "\"server46.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable47",
+ "name": "sampleVariable47",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:43.083+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:43.083+00:00",
+ "isEncrypted": false,
+ "value": "\"server47.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable48",
+ "name": "sampleVariable48",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:43.957+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:43.957+00:00",
+ "isEncrypted": false,
+ "value": "\"server48.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable49",
+ "name": "sampleVariable49",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:44.74+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:44.74+00:00",
+ "isEncrypted": false,
+ "value": "\"server49.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable5",
+ "name": "sampleVariable5",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:03.253+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:03.253+00:00",
+ "isEncrypted": false,
+ "value": "\"server5.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable50",
+ "name": "sampleVariable50",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:46.35+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:46.35+00:00",
+ "isEncrypted": false,
+ "value": "\"server50.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable51",
+ "name": "sampleVariable51",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:47.1+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:47.1+00:00",
+ "isEncrypted": false,
+ "value": "\"server51.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable52",
+ "name": "sampleVariable52",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:47.88+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:47.88+00:00",
+ "isEncrypted": false,
+ "value": "\"server52.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable53",
+ "name": "sampleVariable53",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:48.677+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:48.677+00:00",
+ "isEncrypted": false,
+ "value": "\"server53.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable54",
+ "name": "sampleVariable54",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:49.473+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:49.473+00:00",
+ "isEncrypted": false,
+ "value": "\"server54.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable55",
+ "name": "sampleVariable55",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:51.16+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:51.16+00:00",
+ "isEncrypted": false,
+ "value": "\"server55.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable56",
+ "name": "sampleVariable56",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:51.927+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:51.927+00:00",
+ "isEncrypted": false,
+ "value": "\"server56.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable57",
+ "name": "sampleVariable57",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:52.757+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:52.757+00:00",
+ "isEncrypted": false,
+ "value": "\"server57.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable58",
+ "name": "sampleVariable58",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:53.55+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:53.55+00:00",
+ "isEncrypted": false,
+ "value": "\"server58.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable59",
+ "name": "sampleVariable59",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:54.317+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:54.317+00:00",
+ "isEncrypted": false,
+ "value": "\"server59.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable6",
+ "name": "sampleVariable6",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:04.143+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:04.143+00:00",
+ "isEncrypted": false,
+ "value": "\"server6.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable60",
+ "name": "sampleVariable60",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:55.177+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:55.177+00:00",
+ "isEncrypted": false,
+ "value": "\"server60.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable61",
+ "name": "sampleVariable61",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:56.583+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:56.583+00:00",
+ "isEncrypted": false,
+ "value": "\"server61.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable62",
+ "name": "sampleVariable62",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:57.27+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:57.27+00:00",
+ "isEncrypted": false,
+ "value": "\"server62.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable63",
+ "name": "sampleVariable63",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:57.943+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:57.943+00:00",
+ "isEncrypted": false,
+ "value": "\"server63.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable64",
+ "name": "sampleVariable64",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:58.66+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:58.66+00:00",
+ "isEncrypted": false,
+ "value": "\"server64.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable65",
+ "name": "sampleVariable65",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:59.35+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:59.35+00:00",
+ "isEncrypted": false,
+ "value": "\"server65.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable66",
+ "name": "sampleVariable66",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:00.02+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:00.02+00:00",
+ "isEncrypted": false,
+ "value": "\"server66.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable67",
+ "name": "sampleVariable67",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:01.507+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:01.507+00:00",
+ "isEncrypted": false,
+ "value": "\"server67.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable68",
+ "name": "sampleVariable68",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:02.177+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:02.177+00:00",
+ "isEncrypted": false,
+ "value": "\"server68.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable69",
+ "name": "sampleVariable69",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:02.863+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:02.863+00:00",
+ "isEncrypted": false,
+ "value": "\"server69.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable7",
+ "name": "sampleVariable7",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:05.393+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:05.393+00:00",
+ "isEncrypted": false,
+ "value": "\"server7.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable70",
+ "name": "sampleVariable70",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:03.6+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:03.6+00:00",
+ "isEncrypted": false,
+ "value": "\"server70.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable71",
+ "name": "sampleVariable71",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:04.333+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:04.333+00:00",
+ "isEncrypted": false,
+ "value": "\"server71.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable72",
+ "name": "sampleVariable72",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:05.1+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:05.1+00:00",
+ "isEncrypted": false,
+ "value": "\"server72.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable73",
+ "name": "sampleVariable73",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:05.833+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:05.833+00:00",
+ "isEncrypted": false,
+ "value": "\"server73.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable74",
+ "name": "sampleVariable74",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:06.647+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:06.647+00:00",
+ "isEncrypted": false,
+ "value": "\"server74.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable75",
+ "name": "sampleVariable75",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:07.363+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:07.363+00:00",
+ "isEncrypted": false,
+ "value": "\"server75.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable76",
+ "name": "sampleVariable76",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:08.1+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:08.1+00:00",
+ "isEncrypted": false,
+ "value": "\"server76.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable77",
+ "name": "sampleVariable77",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:08.82+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:08.82+00:00",
+ "isEncrypted": false,
+ "value": "\"server77.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable78",
+ "name": "sampleVariable78",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:09.553+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:09.553+00:00",
+ "isEncrypted": false,
+ "value": "\"server78.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable79",
+ "name": "sampleVariable79",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:10.63+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:10.63+00:00",
+ "isEncrypted": false,
+ "value": "\"server79.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable8",
+ "name": "sampleVariable8",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:06.52+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:06.52+00:00",
+ "isEncrypted": false,
+ "value": "\"server8.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable80",
+ "name": "sampleVariable80",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:11.32+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:11.32+00:00",
+ "isEncrypted": false,
+ "value": "\"server80.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable81",
+ "name": "sampleVariable81",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:12.02+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:12.02+00:00",
+ "isEncrypted": false,
+ "value": "\"server81.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable82",
+ "name": "sampleVariable82",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:12.723+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:12.723+00:00",
+ "isEncrypted": false,
+ "value": "\"server82.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable83",
+ "name": "sampleVariable83",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:13.443+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:13.443+00:00",
+ "isEncrypted": false,
+ "value": "\"server83.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable84",
+ "name": "sampleVariable84",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:14.16+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:14.16+00:00",
+ "isEncrypted": false,
+ "value": "\"server84.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable85",
+ "name": "sampleVariable85",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:15.177+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:15.177+00:00",
+ "isEncrypted": false,
+ "value": "\"server85.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable86",
+ "name": "sampleVariable86",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:16.053+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:16.053+00:00",
+ "isEncrypted": false,
+ "value": "\"server86.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable87",
+ "name": "sampleVariable87",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:16.82+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:16.82+00:00",
+ "isEncrypted": false,
+ "value": "\"server87.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable88",
+ "name": "sampleVariable88",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:17.583+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:17.583+00:00",
+ "isEncrypted": false,
+ "value": "\"server88.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable89",
+ "name": "sampleVariable89",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:18.333+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:18.333+00:00",
+ "isEncrypted": false,
+ "value": "\"server89.domain.com\"",
+ "description": null
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables?api-version=2015-10-31&$skip=100"
+ }
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json
index 89476a45dc1f..3fea51ab2fb0 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json
@@ -8,129 +8,131 @@
},
"responses": {
"200": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable9",
- "name": "sampleVariable9",
- "properties": {
- "creationTime": "2017-03-28T23:01:07.38+00:00",
- "lastModifiedTime": "2017-03-28T23:01:07.38+00:00",
- "isEncrypted": false,
- "value": "\"server9.domain.com\"",
- "description": null
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable9",
+ "name": "sampleVariable9",
+ "properties": {
+ "creationTime": "2017-03-28T23:01:07.38+00:00",
+ "lastModifiedTime": "2017-03-28T23:01:07.38+00:00",
+ "isEncrypted": false,
+ "value": "\"server9.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable90",
+ "name": "sampleVariable90",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:19.147+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:19.147+00:00",
+ "isEncrypted": false,
+ "value": "\"server90.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable91",
+ "name": "sampleVariable91",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:20.257+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:20.257+00:00",
+ "isEncrypted": false,
+ "value": "\"server91.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable92",
+ "name": "sampleVariable92",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:21.037+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:21.037+00:00",
+ "isEncrypted": false,
+ "value": "\"server92.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable93",
+ "name": "sampleVariable93",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:21.803+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:21.803+00:00",
+ "isEncrypted": false,
+ "value": "\"server93.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable94",
+ "name": "sampleVariable94",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:22.583+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:22.583+00:00",
+ "isEncrypted": false,
+ "value": "\"server94.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable95",
+ "name": "sampleVariable95",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:23.333+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:23.333+00:00",
+ "isEncrypted": false,
+ "value": "\"server95.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable96",
+ "name": "sampleVariable96",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:24.163+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:24.163+00:00",
+ "isEncrypted": false,
+ "value": "\"server96.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable97",
+ "name": "sampleVariable97",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:24.973+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:24.973+00:00",
+ "isEncrypted": false,
+ "value": "\"server97.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable98",
+ "name": "sampleVariable98",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:25.757+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:25.757+00:00",
+ "isEncrypted": false,
+ "value": "\"server98.domain.com\"",
+ "description": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable99",
+ "name": "sampleVariable99",
+ "properties": {
+ "creationTime": "2017-03-28T23:02:26.553+00:00",
+ "lastModifiedTime": "2017-03-28T23:02:26.553+00:00",
+ "isEncrypted": false,
+ "value": "\"server99.domain.com\"",
+ "description": null
+ }
}
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable90",
- "name": "sampleVariable90",
- "properties": {
- "creationTime": "2017-03-28T23:02:19.147+00:00",
- "lastModifiedTime": "2017-03-28T23:02:19.147+00:00",
- "isEncrypted": false,
- "value": "\"server90.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable91",
- "name": "sampleVariable91",
- "properties": {
- "creationTime": "2017-03-28T23:02:20.257+00:00",
- "lastModifiedTime": "2017-03-28T23:02:20.257+00:00",
- "isEncrypted": false,
- "value": "\"server91.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable92",
- "name": "sampleVariable92",
- "properties": {
- "creationTime": "2017-03-28T23:02:21.037+00:00",
- "lastModifiedTime": "2017-03-28T23:02:21.037+00:00",
- "isEncrypted": false,
- "value": "\"server92.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable93",
- "name": "sampleVariable93",
- "properties": {
- "creationTime": "2017-03-28T23:02:21.803+00:00",
- "lastModifiedTime": "2017-03-28T23:02:21.803+00:00",
- "isEncrypted": false,
- "value": "\"server93.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable94",
- "name": "sampleVariable94",
- "properties": {
- "creationTime": "2017-03-28T23:02:22.583+00:00",
- "lastModifiedTime": "2017-03-28T23:02:22.583+00:00",
- "isEncrypted": false,
- "value": "\"server94.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable95",
- "name": "sampleVariable95",
- "properties": {
- "creationTime": "2017-03-28T23:02:23.333+00:00",
- "lastModifiedTime": "2017-03-28T23:02:23.333+00:00",
- "isEncrypted": false,
- "value": "\"server95.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable96",
- "name": "sampleVariable96",
- "properties": {
- "creationTime": "2017-03-28T23:02:24.163+00:00",
- "lastModifiedTime": "2017-03-28T23:02:24.163+00:00",
- "isEncrypted": false,
- "value": "\"server96.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable97",
- "name": "sampleVariable97",
- "properties": {
- "creationTime": "2017-03-28T23:02:24.973+00:00",
- "lastModifiedTime": "2017-03-28T23:02:24.973+00:00",
- "isEncrypted": false,
- "value": "\"server97.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable98",
- "name": "sampleVariable98",
- "properties": {
- "creationTime": "2017-03-28T23:02:25.757+00:00",
- "lastModifiedTime": "2017-03-28T23:02:25.757+00:00",
- "isEncrypted": false,
- "value": "\"server98.domain.com\"",
- "description": null
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable99",
- "name": "sampleVariable99",
- "properties": {
- "creationTime": "2017-03-28T23:02:26.553+00:00",
- "lastModifiedTime": "2017-03-28T23:02:26.553+00:00",
- "isEncrypted": false,
- "value": "\"server99.domain.com\"",
- "description": null
- }
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json
index 77cdb4398fa0..3feab4114a59 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json
@@ -16,29 +16,31 @@
},
"responses": {
"200": {
- "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial",
- "name": "Get-AzureVMTutorial",
- "type": "Microsoft.Automation/AutomationAccounts/Runbooks",
- "location": "East US 2",
- "tags": {
- "tag01": "value01",
- "tag02": "value02"
- },
- "etag": "\"636265044994500000\"",
- "properties": {
- "description": "Updated Description of the Runbook",
- "logVerbose": false,
- "logProgress": true,
- "logActivityTrace": 1,
- "runbookType": "PowerShellWorkflow",
- "parameters": {},
- "state": "Published",
- "jobCount": 0,
- "provisioningState": "Succeeded",
- "outputTypes": [],
- "creationTime": "2017-03-30T21:01:33.777+00:00",
- "lastModifiedBy": "myEmaild@microsoft.com",
- "lastModifiedTime": "2017-03-30T21:01:39.45+00:00"
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial",
+ "name": "Get-AzureVMTutorial",
+ "type": "Microsoft.Automation/AutomationAccounts/Runbooks",
+ "location": "East US 2",
+ "tags": {
+ "tag01": "value01",
+ "tag02": "value02"
+ },
+ "etag": "\"636265044994500000\"",
+ "properties": {
+ "description": "Updated Description of the Runbook",
+ "logVerbose": false,
+ "logProgress": true,
+ "logActivityTrace": 1,
+ "runbookType": "PowerShellWorkflow",
+ "parameters": {},
+ "state": "Published",
+ "jobCount": 0,
+ "provisioningState": "Succeeded",
+ "outputTypes": [],
+ "creationTime": "2017-03-30T21:01:33.777+00:00",
+ "lastModifiedBy": "myEmaild@microsoft.com",
+ "lastModifiedTime": "2017-03-30T21:01:39.45+00:00"
+ }
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/listTestJobStreamsByJob.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/listTestJobStreamsByJob.json
index 255667e197e1..11f0b60454cc 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/listTestJobStreamsByJob.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/listTestJobStreamsByJob.json
@@ -30,7 +30,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Operations/List.json b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Operations/List.json
index 4b1fefacd40e..b6812d702a28 100644
--- a/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Operations/List.json
+++ b/specification/azsadmin/resource-manager/azurebridge/Microsoft.AzureBridge.Admin/preview/2016-01-01/examples/Operations/List.json
@@ -7,7 +7,7 @@
"200": {
"body": {
"value": [],
- "nextLink": ""
+ "nextLink": null
}
}
}
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
index 14d8cb07fe5a..7e7e26561036 100644
--- 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
@@ -156,6 +156,10 @@
"description": "Operational status of the volume.",
"type": "string"
},
+ "repairStatus": {
+ "description": "Repair status of the volume. Empty if no repair job running, something like 'Running, 90%' when repairing.",
+ "type": "string"
+ },
"description": {
"description": "Detailed description for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.",
"type": "string"
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
index ffbeee06959c..5fa5af5196be 100644
--- 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
@@ -21,6 +21,7 @@
"remainingCapacityGB": 1317,
"healthStatus": "Healthy",
"operationalStatus": "OK",
+ "repairStatus": "",
"description": "",
"action": "",
"volumeLabel": "ObjStore_1"
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
index 984dc9e01cd5..aa0858da41da 100644
--- 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
@@ -22,6 +22,7 @@
"remainingCapacityGB": 1317,
"healthStatus": "Healthy",
"operationalStatus": "OK",
+ "repairStatus": "",
"description": "",
"action": "",
"volumeLabel": "ObjStore_1"
diff --git a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Alert/List.json b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Alert/List.json
index da2a5dda47b4..cf5e82c3547b 100644
--- a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Alert/List.json
+++ b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Alert/List.json
@@ -128,7 +128,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Operations/List.json b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Operations/List.json
index 25fbf1a280c8..4a688f8f5c81 100644
--- a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Operations/List.json
+++ b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/Operations/List.json
@@ -14,7 +14,7 @@
"200": {
"body": {
"value": [],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/RegionHealth/List.json b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/RegionHealth/List.json
index c6950f8f3b70..69fca95d5472 100644
--- a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/RegionHealth/List.json
+++ b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/RegionHealth/List.json
@@ -69,7 +69,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ResourceHealth/List.json b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ResourceHealth/List.json
index 600e5ac5ebfb..92e38715df13 100644
--- a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ResourceHealth/List.json
+++ b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ResourceHealth/List.json
@@ -899,7 +899,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ServiceHealth/List.json b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ServiceHealth/List.json
index 386e7b338000..4c7d777c26ea 100644
--- a/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ServiceHealth/List.json
+++ b/specification/azsadmin/resource-manager/infrastructureinsights/Microsoft.InfrastructureInsights.Admin/preview/2016-05-01/examples/ServiceHealth/List.json
@@ -150,7 +150,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/MetricDefinitions.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/MetricDefinitions.json
index 9e5552523ea0..e85135d52a37 100644
--- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/MetricDefinitions.json
+++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/MetricDefinitions.json
@@ -10,7 +10,7 @@
"200": {
"body": {
"value": [],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/Metrics.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/Metrics.json
index 9e5552523ea0..e85135d52a37 100644
--- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/Metrics.json
+++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Offer/Metrics.json
@@ -10,7 +10,7 @@
"200": {
"body": {
"value": [],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/MetricDefinitions.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/MetricDefinitions.json
index 6f486f4b8db4..6b32010049c0 100644
--- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/MetricDefinitions.json
+++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/MetricDefinitions.json
@@ -10,7 +10,7 @@
"200": {
"body": {
"value": [],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/Metrics.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/Metrics.json
index 6f486f4b8db4..6b32010049c0 100644
--- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/Metrics.json
+++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Plan/Metrics.json
@@ -10,7 +10,7 @@
"200": {
"body": {
"value": [],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Create.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Create.json
index 5fefc18a98e2..fa4994331375 100644
--- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Create.json
+++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Create.json
@@ -13,7 +13,7 @@
"200": {
"body": {
"value": [],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Delete.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Delete.json
index 5fefc18a98e2..fa4994331375 100644
--- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Delete.json
+++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/examples/Quota/Delete.json
@@ -13,7 +13,7 @@
"200": {
"body": {
"value": [],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Operations/List.json b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Operations/List.json
index f8f3ccdbfe4e..65954c3bdefc 100644
--- a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Operations/List.json
+++ b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Operations/List.json
@@ -13,7 +13,7 @@
"200": {
"body": {
"value": [],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/UpdateRuns/List.json b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/UpdateRuns/List.json
index d5a0041159a6..c03fc9682e69 100644
--- a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/UpdateRuns/List.json
+++ b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/UpdateRuns/List.json
@@ -396,7 +396,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Updates/List.json b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Updates/List.json
index 838802a1697c..0b1c72764eeb 100644
--- a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Updates/List.json
+++ b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/examples/Updates/List.json
@@ -32,7 +32,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json
new file mode 100644
index 000000000000..58a9899e8546
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json
@@ -0,0 +1,16549 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "BatchService",
+ "version": "2019-08-01.10.0",
+ "description": "A client for issuing REST requests to the Azure Batch service.",
+ "x-ms-code-generation-settings": {
+ "name": "BatchServiceClient"
+ }
+ },
+ "x-ms-parameterized-host": {
+ "hostTemplate": "{batchUrl}",
+ "useSchemePrefix": false,
+ "parameters": [
+ {
+ "$ref": "#/parameters/batchUrl"
+ }
+ ]
+ },
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ },
+ {
+ "api_key": []
+ }
+ ],
+ "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"
+ }
+ },
+ "api_key": {
+ "type": "apiKey",
+ "name": "Authorization",
+ "in": "header"
+ }
+ },
+ "paths": {
+ "/applications": {
+ "get": {
+ "tags": [
+ "Applications"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "Application_List",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 applications can be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of applications.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationListResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/applications/{applicationId}": {
+ "get": {
+ "tags": [
+ "Applications"
+ ],
+ "operationId": "Application_Get",
+ "x-ms-examples": {
+ "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 Nodes, use the Azure portal or the Azure Resource Manager API.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "applicationId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Application."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the application.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSummary"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/poolusagemetrics": {
+ "get": {
+ "tags": [
+ "Pools"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "Pool_ListUsageMetrics",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "starttime",
+ "x-ms-client-name": "startTime",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "format": "date-time",
+ "description": "The earliest time from which to include metrics. This must be at least two and a half hours before the current time. If not specified this defaults to the start time of the last aggregation interval currently available.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "endtime",
+ "x-ms-client-name": "endTime",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "format": "date-time",
+ "description": "The latest time from which to include metrics. This must be at least two hours before the current time. If not specified this defaults to the end time of the last aggregation interval currently available.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 results will be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of Pool usage details.",
+ "schema": {
+ "$ref": "#/definitions/PoolListUsageMetricsResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/supportedimages": {
+ "get": {
+ "tags": [
+ "Accounts"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "Account_ListSupportedImages",
+ "x-ms-examples": {
+ "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",
+ "parameters": [
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 results will be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of supported Virtual Machine Images.",
+ "schema": {
+ "$ref": "#/definitions/AccountListSupportedImagesResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/nodecounts": {
+ "get": {
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "tags": [
+ "Accounts"
+ ],
+ "operationId": "Account_ListPoolNodeCounts",
+ "description": "Gets the number of Compute Nodes in each state, grouped by Pool.",
+ "x-ms-examples": {
+ "NodeCountsPayload": {
+ "$ref": "./examples/AccountListPoolNodeCounts.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 10,
+ "minimum": 1,
+ "maximum": 10,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ }
+ },
+ "description": "The response contains the number of Compute Nodes in each Compute Node state, grouped by Pool.",
+ "schema": {
+ "$ref": "#/definitions/PoolNodeCountsListResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/lifetimepoolstats": {
+ "get": {
+ "tags": [
+ "Pools"
+ ],
+ "operationId": "Pool_GetAllLifetimeStatistics",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the Pool statistics for the lifetime of the Batch Account.",
+ "schema": {
+ "$ref": "#/definitions/PoolStatistics"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/lifetimejobstats": {
+ "get": {
+ "tags": [
+ "Jobs"
+ ],
+ "operationId": "Job_GetAllLifetimeStatistics",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the Job statistics for the lifetime of the Batch Account.",
+ "schema": {
+ "$ref": "#/definitions/JobStatistics"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/certificates": {
+ "post": {
+ "tags": [
+ "Certificates"
+ ],
+ "operationId": "Certificate_Add",
+ "x-ms-examples": {
+ "Certificate add": {
+ "$ref": "./examples/CertificateAdd.json"
+ }
+ },
+ "summary": "Adds a Certificate to the specified Account.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "certificate",
+ "in": "body",
+ "description": "The Certificate to be added.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CertificateAddParameter"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Certificates"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "Certificate_List",
+ "x-ms-examples": {
+ "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",
+ "parameters": [
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 Certificates can be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of Certificates.",
+ "schema": {
+ "$ref": "#/definitions/CertificateListResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})/canceldelete": {
+ "post": {
+ "tags": [
+ "Certificates"
+ ],
+ "operationId": "Certificate_CancelDeletion",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "thumbprintAlgorithm",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The algorithm used to derive the thumbprint parameter. This must be sha1."
+ },
+ {
+ "name": "thumbprint",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The thumbprint of the Certificate being deleted."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})": {
+ "delete": {
+ "tags": [
+ "Certificates"
+ ],
+ "operationId": "Certificate_Delete",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "thumbprintAlgorithm",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The algorithm used to derive the thumbprint parameter. This must be sha1."
+ },
+ {
+ "name": "thumbprint",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The thumbprint of the Certificate to be deleted."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Certificates"
+ ],
+ "operationId": "Certificate_Get",
+ "x-ms-examples": {
+ "Certificate get": {
+ "$ref": "./examples/CertificateGet.json"
+ }
+ },
+ "description": "Gets information about the specified Certificate.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "thumbprintAlgorithm",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The algorithm used to derive the thumbprint parameter. This must be sha1."
+ },
+ {
+ "name": "thumbprint",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The thumbprint of the Certificate to get."
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the Certificate.",
+ "schema": {
+ "$ref": "#/definitions/Certificate"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/tasks/{taskId}/files/{filePath}": {
+ "delete": {
+ "tags": [
+ "Files"
+ ],
+ "operationId": "File_DeleteFromTask",
+ "x-ms-examples": {
+ "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",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job that contains the Task."
+ },
+ {
+ "name": "taskId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Task whose file you want to delete."
+ },
+ {
+ "name": "filePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path to the Task file or directory that you want to delete."
+ },
+ {
+ "name": "recursive",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Files"
+ ],
+ "operationId": "File_GetFromTask",
+ "x-ms-examples": {
+ "Get File From Task": {
+ "$ref": "./examples/FileGetFromTask.json"
+ }
+ },
+ "description": "Returns the content of the specified Task file.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job that contains the Task."
+ },
+ {
+ "name": "taskId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Task whose file you want to retrieve."
+ },
+ {
+ "name": "filePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path to the Task file that you want to get the content of."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-range",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "The byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/octet-stream"
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "ocp-creation-time": {
+ "description": "The file creation time.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "ocp-batch-file-isdirectory": {
+ "description": "Whether the object represents a directory.",
+ "type": "boolean"
+ },
+ "ocp-batch-file-url": {
+ "description": "The URL of the file.",
+ "type": "string"
+ },
+ "ocp-batch-file-mode": {
+ "description": "The file mode attribute in octal format.",
+ "type": "string"
+ },
+ "Content-Type": {
+ "description": "The content type of the file.",
+ "type": "string"
+ },
+ "Content-Length": {
+ "description": "The length of the file.",
+ "type": "integer",
+ "format": "int64"
+ }
+ },
+ "description": "A response containing the file content.",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "head": {
+ "tags": [
+ "Files"
+ ],
+ "operationId": "File_GetPropertiesFromTask",
+ "x-ms-examples": {
+ "File get properties from task": {
+ "$ref": "./examples/FileGetPropertiesFromTask.json"
+ }
+ },
+ "description": "Gets the properties of the specified Task file.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job that contains the Task."
+ },
+ {
+ "name": "taskId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Task whose file you want to get the properties of."
+ },
+ {
+ "name": "filePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path to the Task file that you want to get the properties of."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "ocp-creation-time": {
+ "description": "The file creation time.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "ocp-batch-file-isdirectory": {
+ "description": "Whether the object represents a directory.",
+ "type": "boolean"
+ },
+ "ocp-batch-file-url": {
+ "description": "The URL of the file.",
+ "type": "string"
+ },
+ "ocp-batch-file-mode": {
+ "description": "The file mode attribute in octal format.",
+ "type": "string"
+ },
+ "Content-Type": {
+ "description": "The content type of the file.",
+ "type": "string"
+ },
+ "Content-Length": {
+ "description": "The length of the file.",
+ "type": "integer",
+ "format": "int64"
+ }
+ },
+ "description": "A response containing the file properties."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}/files/{filePath}": {
+ "delete": {
+ "tags": [
+ "Files"
+ ],
+ "operationId": "File_DeleteFromComputeNode",
+ "x-ms-examples": {
+ "File delete from node": {
+ "$ref": "./examples/FileDeleteFromNode.json"
+ }
+ },
+ "summary": "Deletes the specified file from the Compute Node.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node from which you want to delete the file."
+ },
+ {
+ "name": "filePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path to the file or directory that you want to delete."
+ },
+ {
+ "name": "recursive",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Files"
+ ],
+ "operationId": "File_GetFromComputeNode",
+ "x-ms-examples": {
+ "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",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node that contains the file."
+ },
+ {
+ "name": "filePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path to the Compute Node file that you want to get the content of."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-range",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "The byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/octet-stream"
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "ocp-creation-time": {
+ "description": "The file creation time.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "ocp-batch-file-isdirectory": {
+ "description": "Whether the object represents a directory.",
+ "type": "boolean"
+ },
+ "ocp-batch-file-url": {
+ "description": "The URL of the file.",
+ "type": "string"
+ },
+ "ocp-batch-file-mode": {
+ "description": "The file mode attribute in octal format.",
+ "type": "string"
+ },
+ "Content-Type": {
+ "description": "The content type of the file.",
+ "type": "string"
+ },
+ "Content-Length": {
+ "description": "The length of the file.",
+ "type": "integer",
+ "format": "int64"
+ }
+ },
+ "description": "The file content.",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "head": {
+ "tags": [
+ "Files"
+ ],
+ "operationId": "File_GetPropertiesFromComputeNode",
+ "x-ms-examples": {
+ "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",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node that contains the file."
+ },
+ {
+ "name": "filePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path to the Compute Node file that you want to get the properties of."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "ocp-creation-time": {
+ "description": "The file creation time.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "ocp-batch-file-isdirectory": {
+ "description": "Whether the object represents a directory.",
+ "type": "boolean"
+ },
+ "ocp-batch-file-url": {
+ "description": "The URL of the file.",
+ "type": "string"
+ },
+ "ocp-batch-file-mode": {
+ "description": "The file mode attribute in octal format.",
+ "type": "string"
+ },
+ "Content-Type": {
+ "description": "The content type of the file.",
+ "type": "string"
+ },
+ "Content-Length": {
+ "description": "The length of the file.",
+ "type": "integer",
+ "format": "int64"
+ }
+ },
+ "description": "A response containing the file properties."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/tasks/{taskId}/files": {
+ "get": {
+ "tags": [
+ "Files"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "File_ListFromTask",
+ "x-ms-examples": {
+ "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",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job that contains the Task."
+ },
+ {
+ "name": "taskId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Task whose files you want to list."
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-task-files.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "recursive",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether to list children of the Task directory. This parameter can be used in combination with the filter parameter to list specific type of files."
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 files can be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of files.",
+ "schema": {
+ "$ref": "#/definitions/NodeFileListResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}/files": {
+ "get": {
+ "tags": [
+ "Files"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "File_ListFromComputeNode",
+ "x-ms-examples": {
+ "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",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node whose files you want to list."
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "recursive",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether to list children of a directory."
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 files can be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of files.",
+ "schema": {
+ "$ref": "#/definitions/NodeFileListResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobschedules/{jobScheduleId}": {
+ "head": {
+ "tags": [
+ "JobSchedules"
+ ],
+ "operationId": "JobSchedule_Exists",
+ "x-ms-examples": {
+ "Check Job Schedule Exists": {
+ "$ref": "./examples/JobScheduleExists.json"
+ }
+ },
+ "summary": "Checks the specified Job Schedule exists.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobScheduleId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job Schedule which you want to check."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing headers related to the Job Schedule, if it exists."
+ },
+ "404": {
+ "description": "The Job Schedule does not exist."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "JobSchedules"
+ ],
+ "operationId": "JobSchedule_Delete",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobScheduleId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job Schedule to delete."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "JobSchedules"
+ ],
+ "operationId": "JobSchedule_Get",
+ "x-ms-examples": {
+ "JobSchedule get": {
+ "$ref": "./examples/JobScheduleGet.json"
+ }
+ },
+ "description": "Gets information about the specified Job Schedule.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobScheduleId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job Schedule to get."
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $expand clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the Job Schedule.",
+ "schema": {
+ "$ref": "#/definitions/CloudJobSchedule"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "JobSchedules"
+ ],
+ "operationId": "JobSchedule_Patch",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobScheduleId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job Schedule to update."
+ },
+ {
+ "name": "jobSchedulePatchParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/JobSchedulePatchParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "JobSchedules"
+ ],
+ "operationId": "JobSchedule_Update",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobScheduleId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job Schedule to update."
+ },
+ {
+ "name": "jobScheduleUpdateParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/JobScheduleUpdateParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobschedules/{jobScheduleId}/disable": {
+ "post": {
+ "tags": [
+ "JobSchedules"
+ ],
+ "operationId": "JobSchedule_Disable",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobScheduleId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job Schedule to disable."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobschedules/{jobScheduleId}/enable": {
+ "post": {
+ "tags": [
+ "JobSchedules"
+ ],
+ "operationId": "JobSchedule_Enable",
+ "x-ms-examples": {
+ "JobSchedule enable": {
+ "$ref": "./examples/JobScheduleEnable.json"
+ }
+ },
+ "summary": "Enables a Job Schedule.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobScheduleId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job Schedule to enable."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobschedules/{jobScheduleId}/terminate": {
+ "post": {
+ "tags": [
+ "JobSchedules"
+ ],
+ "operationId": "JobSchedule_Terminate",
+ "x-ms-examples": {
+ "JobSchedule terminate": {
+ "$ref": "./examples/JobScheduleTerminate.json"
+ }
+ },
+ "summary": "Terminates a Job Schedule.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobScheduleId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job Schedule to terminates."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobschedules": {
+ "post": {
+ "tags": [
+ "JobSchedules"
+ ],
+ "operationId": "JobSchedule_Add",
+ "x-ms-examples": {
+ "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",
+ "parameters": [
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "cloudJobSchedule",
+ "in": "body",
+ "description": "The Job Schedule to be added.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/JobScheduleAddParameter"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "JobSchedules"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "JobSchedule_List",
+ "x-ms-examples": {
+ "JobSchedule list": {
+ "$ref": "./examples/JobScheduleList.json"
+ }
+ },
+ "summary": "Lists all of the Job Schedules in the specified Account.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $expand clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 Job Schedules can be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of Job Schedules.",
+ "schema": {
+ "$ref": "#/definitions/CloudJobScheduleListResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}": {
+ "delete": {
+ "tags": [
+ "Jobs"
+ ],
+ "operationId": "Job_Delete",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job to delete."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Jobs"
+ ],
+ "operationId": "Job_Get",
+ "x-ms-examples": {
+ "Job get": {
+ "$ref": "./examples/JobGet.json"
+ }
+ },
+ "summary": "Gets information about the specified Job.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job."
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $expand clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the Job.",
+ "schema": {
+ "$ref": "#/definitions/CloudJob"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Jobs"
+ ],
+ "operationId": "Job_Patch",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job whose properties you want to update."
+ },
+ {
+ "name": "jobPatchParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/JobPatchParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Jobs"
+ ],
+ "operationId": "Job_Update",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job whose properties you want to update."
+ },
+ {
+ "name": "jobUpdateParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/JobUpdateParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/disable": {
+ "post": {
+ "tags": [
+ "Jobs"
+ ],
+ "operationId": "Job_Disable",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job to disable."
+ },
+ {
+ "name": "jobDisableParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/JobDisableParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/enable": {
+ "post": {
+ "tags": [
+ "Jobs"
+ ],
+ "operationId": "Job_Enable",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job to enable."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/terminate": {
+ "post": {
+ "tags": [
+ "Jobs"
+ ],
+ "operationId": "Job_Terminate",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job to terminate."
+ },
+ {
+ "name": "jobTerminateParameter",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/JobTerminateParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs": {
+ "post": {
+ "tags": [
+ "Jobs"
+ ],
+ "operationId": "Job_Add",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "job",
+ "in": "body",
+ "description": "The Job to be added.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/JobAddParameter"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Jobs"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "Job_List",
+ "x-ms-examples": {
+ "Job list": {
+ "$ref": "./examples/JobList.json"
+ }
+ },
+ "summary": "Lists all of the Jobs in the specified Account.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $expand clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 Jobs can be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of Jobs.",
+ "schema": {
+ "$ref": "#/definitions/CloudJobListResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobschedules/{jobScheduleId}/jobs": {
+ "get": {
+ "tags": [
+ "Jobs"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobScheduleId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job Schedule from which you want to get a list of Jobs."
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $expand clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 Jobs can be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of Jobs.",
+ "schema": {
+ "$ref": "#/definitions/CloudJobListResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/jobpreparationandreleasetaskstatus": {
+ "get": {
+ "tags": [
+ "Jobs"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "Job_ListPreparationAndReleaseTaskStatus",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job."
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 Tasks can be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing a list of Job Preparation and Job Release Task statuses.",
+ "schema": {
+ "$ref": "#/definitions/CloudJobListPreparationAndReleaseTaskStatusResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service. 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.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/taskcounts": {
+ "get": {
+ "tags": [
+ "Jobs"
+ ],
+ "operationId": "Job_GetTaskCounts",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ }
+ },
+ "description": "A response containing the Task counts for the specified Job.",
+ "schema": {
+ "$ref": "#/definitions/TaskCounts"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools": {
+ "post": {
+ "tags": [
+ "Pools"
+ ],
+ "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 pool with mount drive specified": {
+ "$ref": "./examples/PoolAdd_MountConfiguration.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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "pool",
+ "in": "body",
+ "description": "The Pool to be added.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PoolAddParameter"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Pools"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "Pool_List",
+ "x-ms-examples": {
+ "Pool list": {
+ "$ref": "./examples/PoolList_Basic.json"
+ }
+ },
+ "summary": "Lists all of the Pools in the specified Account.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-pools.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $expand clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 Pools can be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of Pools.",
+ "schema": {
+ "$ref": "#/definitions/CloudPoolListResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}": {
+ "delete": {
+ "tags": [
+ "Pools"
+ ],
+ "operationId": "Pool_Delete",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool to delete."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "head": {
+ "tags": [
+ "Pools"
+ ],
+ "operationId": "Pool_Exists",
+ "x-ms-examples": {
+ "Check Pool Exists": {
+ "$ref": "./examples/PoolExists.json"
+ }
+ },
+ "description": "Gets basic properties of a Pool.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool to get."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing headers related to the Pool, if it exists."
+ },
+ "404": {
+ "description": "The Pool does not exist."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Pools"
+ ],
+ "operationId": "Pool_Get",
+ "x-ms-examples": {
+ "Pool get": {
+ "$ref": "./examples/PoolGet_Basic.json"
+ }
+ },
+ "description": "Gets information about the specified Pool.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool to get."
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $expand clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the Pool.",
+ "schema": {
+ "$ref": "#/definitions/CloudPool"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Pools"
+ ],
+ "operationId": "Pool_Patch",
+ "x-ms-examples": {
+ "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 StartTask associated with it, and a request does not specify a StartTask element, then the Pool keeps the existing StartTask.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool to update."
+ },
+ {
+ "name": "poolPatchParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PoolPatchParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/disableautoscale": {
+ "post": {
+ "tags": [
+ "Pools"
+ ],
+ "operationId": "Pool_DisableAutoScale",
+ "x-ms-examples": {
+ "Disable pool autoscale": {
+ "$ref": "./examples/PoolDisableAutoScale.json"
+ }
+ },
+ "summary": "Disables automatic scaling for a Pool.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool on which to disable automatic scaling."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/enableautoscale": {
+ "post": {
+ "tags": [
+ "Pools"
+ ],
+ "operationId": "Pool_EnableAutoScale",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool on which to enable automatic scaling."
+ },
+ {
+ "name": "poolEnableAutoScaleParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PoolEnableAutoScaleParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/evaluateautoscale": {
+ "post": {
+ "tags": [
+ "Pools"
+ ],
+ "operationId": "Pool_EvaluateAutoScale",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool on which to evaluate the automatic scaling formula."
+ },
+ {
+ "name": "poolEvaluateAutoScaleParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PoolEvaluateAutoScaleParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "A response containing the results of the autoscale evaluation.",
+ "schema": {
+ "$ref": "#/definitions/AutoScaleRun"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/resize": {
+ "post": {
+ "tags": [
+ "Pools"
+ ],
+ "operationId": "Pool_Resize",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool to resize."
+ },
+ {
+ "name": "poolResizeParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PoolResizeParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/stopresize": {
+ "post": {
+ "tags": [
+ "Pools"
+ ],
+ "operationId": "Pool_StopResize",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool whose resizing you want to stop."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service. If you call this API on a Pool which is not in the resizing state, the request fails with HTTP status code 409.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/updateproperties": {
+ "post": {
+ "tags": [
+ "Pools"
+ ],
+ "operationId": "Pool_UpdateProperties",
+ "x-ms-examples": {
+ "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 StartTask associated with it and if StartTask is not specified with this request, then the Batch service will remove the existing StartTask.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool to update."
+ },
+ {
+ "name": "poolUpdatePropertiesParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PoolUpdatePropertiesParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/removenodes": {
+ "post": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "Pool_RemoveNodes",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool from which you want to remove Compute Nodes."
+ },
+ {
+ "name": "nodeRemoveParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NodeRemoveParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/tasks": {
+ "post": {
+ "tags": [
+ "Tasks"
+ ],
+ "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"
+ }
+ },
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job to which the Task is to be added."
+ },
+ {
+ "name": "task",
+ "in": "body",
+ "description": "The Task to be added.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TaskAddParameter"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Tasks"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "Task_List",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job."
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-tasks.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $expand clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 Tasks can be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of Tasks.",
+ "schema": {
+ "$ref": "#/definitions/CloudTaskListResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/addtaskcollection": {
+ "post": {
+ "tags": [
+ "Tasks"
+ ],
+ "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"
+ }
+ },
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job to which the Task collection is to be added."
+ },
+ {
+ "name": "taskCollection",
+ "in": "body",
+ "description": "The Tasks to be added.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TaskAddCollectionParameter"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/TaskAddCollectionResult"
+ },
+ "description": "A response containing the results of the add Task collection operation."
+ },
+ "default": {
+ "description": "Unexpected error",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/tasks/{taskId}": {
+ "delete": {
+ "tags": [
+ "Tasks"
+ ],
+ "operationId": "Task_Delete",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job from which to delete the Task."
+ },
+ {
+ "name": "taskId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Task to delete."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Tasks"
+ ],
+ "operationId": "Task_Get",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job that contains the Task."
+ },
+ {
+ "name": "taskId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Task to get information about."
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $expand clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "A response containing the Task.",
+ "schema": {
+ "$ref": "#/definitions/CloudTask"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Tasks"
+ ],
+ "operationId": "Task_Update",
+ "x-ms-examples": {
+ "Task update": {
+ "$ref": "./examples/TaskUpdate.json"
+ }
+ },
+ "description": "Updates the properties of the specified Task.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job containing the Task."
+ },
+ {
+ "name": "taskId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Task to update."
+ },
+ {
+ "name": "taskUpdateParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TaskUpdateParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/tasks/{taskId}/subtasksinfo": {
+ "get": {
+ "tags": [
+ "Tasks"
+ ],
+ "operationId": "Task_ListSubtasks",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job."
+ },
+ {
+ "name": "taskId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Task."
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of subtasks.",
+ "schema": {
+ "$ref": "#/definitions/CloudTaskListSubtasksResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/tasks/{taskId}/terminate": {
+ "post": {
+ "tags": [
+ "Tasks"
+ ],
+ "operationId": "Task_Terminate",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job containing the Task."
+ },
+ {
+ "name": "taskId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Task to terminate."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/jobs/{jobId}/tasks/{taskId}/reactivate": {
+ "post": {
+ "tags": [
+ "Tasks"
+ ],
+ "operationId": "Task_Reactivate",
+ "x-ms-examples": {
+ "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).",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "jobId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Job containing the Task."
+ },
+ {
+ "name": "taskId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Task to reactivate."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Modified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "If-Unmodified-Since",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}/users": {
+ "post": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "ComputeNode_AddUser",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the machine on which you want to create a user Account."
+ },
+ {
+ "name": "user",
+ "in": "body",
+ "description": "The user Account to be created.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ComputeNodeUser"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}/users/{userName}": {
+ "delete": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "ComputeNode_DeleteUser",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the machine on which you want to delete a user Account."
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the user Account to delete."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "ComputeNode_UpdateUser",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the machine on which you want to update a user Account."
+ },
+ {
+ "name": "userName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the user Account to update."
+ },
+ {
+ "name": "nodeUpdateUserParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NodeUpdateUserParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}": {
+ "get": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "ComputeNode_Get",
+ "x-ms-examples": {
+ "Node get": {
+ "$ref": "./examples/NodeGet_Basic.json"
+ }
+ },
+ "summary": "Gets information about the specified Compute Node.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node that you want to get information about."
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the Compute Node.",
+ "schema": {
+ "$ref": "#/definitions/ComputeNode"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}/reboot": {
+ "post": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "ComputeNode_Reboot",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node that you want to restart."
+ },
+ {
+ "name": "nodeRebootParameter",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/NodeRebootParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}/reimage": {
+ "post": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "ComputeNode_Reimage",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node that you want to restart."
+ },
+ {
+ "name": "nodeReimageParameter",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/NodeReimageParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}/disablescheduling": {
+ "post": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "ComputeNode_DisableScheduling",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node on which you want to disable Task scheduling."
+ },
+ {
+ "name": "nodeDisableSchedulingParameter",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/NodeDisableSchedulingParameter"
+ },
+ "description": "The parameters for the request."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}/enablescheduling": {
+ "post": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "ComputeNode_EnableScheduling",
+ "x-ms-examples": {
+ "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",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node on which you want to enable Task scheduling."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ },
+ "DataServiceId": {
+ "description": "The OData ID of the resource to which the request applied.",
+ "type": "string"
+ }
+ },
+ "description": "The request to the Batch service was successful."
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}/remoteloginsettings": {
+ "get": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "ComputeNode_GetRemoteLoginSettings",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node for which to obtain the remote login settings."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the login settings.",
+ "schema": {
+ "$ref": "#/definitions/ComputeNodeGetRemoteLoginSettingsResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}/rdp": {
+ "get": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "ComputeNode_GetRemoteDesktop",
+ "x-ms-examples": {
+ "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.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node for which you want to get the Remote Desktop Protocol file."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/octet-stream"
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the RDP information.",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes/{nodeId}/uploadbatchservicelogs": {
+ "post": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "operationId": "ComputeNode_UploadBatchServiceLogs",
+ "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"
+ }
+ },
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool that contains the Compute Node."
+ },
+ {
+ "name": "nodeId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Compute Node from which you want to upload the Azure Batch service log files."
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "uploadBatchServiceLogsConfiguration",
+ "in": "body",
+ "description": "The Azure Batch service log files upload configuration.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/UploadBatchServiceLogsConfiguration"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ }
+ },
+ "description": "The request to the Batch service was successful.",
+ "schema": {
+ "$ref": "#/definitions/UploadBatchServiceLogsResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ },
+ "/pools/{poolId}/nodes": {
+ "get": {
+ "tags": [
+ "ComputeNodes"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "odata.nextLink"
+ },
+ "operationId": "ComputeNode_List",
+ "x-ms-examples": {
+ "Node list": {
+ "$ref": "./examples/NodeList.json"
+ }
+ },
+ "summary": "Lists the Compute Nodes in the specified Pool.",
+ "x-ms-request-id": "request-id",
+ "parameters": [
+ {
+ "name": "poolId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the Pool from which you want to list Compute Nodes."
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "An OData $select clause.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "maxresults",
+ "x-ms-client-name": "maxResults",
+ "default": 1000,
+ "minimum": 1,
+ "maximum": 1000,
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of items to return in the response. A maximum of 1000 Compute Nodes can be returned.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "timeout",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "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"
+ }
+ },
+ {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ },
+ "x-ms-client-request-id": true
+ },
+ {
+ "name": "return-client-request-id",
+ "default": false,
+ "in": "header",
+ "required": false,
+ "type": "boolean",
+ "description": "Whether the server should return the client-request-id in the response.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "name": "ocp-date",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "date-time-rfc1123",
+ "description": "The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.",
+ "x-ms-parameter-grouping": {
+ "postfix": "Options"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "headers": {
+ "client-request-id": {
+ "description": "The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "request-id": {
+ "description": "A unique identifier for the request that was made to the Batch service. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this request ID, the approximate time that the request was made, the Batch Account against which the request was made, and the region that Account resides in.",
+ "type": "string",
+ "format": "uuid"
+ },
+ "ETag": {
+ "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.",
+ "type": "string"
+ },
+ "Last-Modified": {
+ "description": "The time at which the resource was last modified.",
+ "type": "string",
+ "format": "date-time-rfc1123"
+ }
+ },
+ "description": "A response containing the list of Compute Nodes.",
+ "schema": {
+ "$ref": "#/definitions/ComputeNodeListResult"
+ }
+ },
+ "default": {
+ "description": "The error from the Batch service.",
+ "schema": {
+ "$ref": "#/definitions/BatchError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PoolUsageMetrics": {
+ "properties": {
+ "poolId": {
+ "type": "string",
+ "title": "The ID of the Pool whose metrics are aggregated in this entry."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The start time of the aggregation interval covered by this entry."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The end time of the aggregation interval covered by this entry."
+ },
+ "vmSize": {
+ "type": "string",
+ "title": "The size of virtual machines in the Pool. All VMs in a Pool are the same size.",
+ "description": "For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes)."
+ },
+ "totalCoreHours": {
+ "type": "number",
+ "format": "double",
+ "title": "The total core hours used in the Pool during this aggregation interval."
+ }
+ },
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours"
+ ],
+ "title": "Usage metrics for a Pool across an aggregation interval."
+ },
+ "PoolListUsageMetricsResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PoolUsageMetrics"
+ },
+ "title": "The Pool usage metrics data."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of a listing the usage metrics for an Account."
+ },
+ "ImageInformation": {
+ "properties": {
+ "nodeAgentSKUId": {
+ "type": "string",
+ "title": "The ID of the Compute Node agent SKU which the Image supports."
+ },
+ "imageReference": {
+ "$ref": "#/definitions/ImageReference",
+ "title": "The reference to the Azure Virtual Machine's Marketplace Image."
+ },
+ "osType": {
+ "type": "string",
+ "title": "The type of operating system (e.g. Windows or Linux) of the Image.",
+ "enum": [
+ "linux",
+ "windows"
+ ],
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "linux",
+ "description": "The Linux operating system."
+ },
+ {
+ "value": "windows",
+ "description": "The Windows operating system."
+ }
+ ]
+ }
+ },
+ "capabilities": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "title": "The capabilities or features which the Image supports.",
+ "description": "Not every capability of the Image is listed. Capabilities in this list are considered of special interest and are generally related to integration with other features in the Azure Batch service."
+ },
+ "batchSupportEndOfLife": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time when the Azure Batch service will stop accepting create Pool requests for the Image."
+ },
+ "verificationType": {
+ "type": "string",
+ "title": "Whether the Azure Batch service actively verifies that the Image is compatible with the associated Compute Node agent SKU.",
+ "enum": [
+ "verified",
+ "unverified"
+ ],
+ "x-ms-enum": {
+ "name": "VerificationType",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "verified",
+ "description": "The Image is guaranteed to be compatible with the associated Compute Node agent SKU and all Batch features have been confirmed to work as expected."
+ },
+ {
+ "value": "unverified",
+ "description": "The associated Compute Node agent SKU should have binary compatibility with the Image, but specific functionality has not been verified."
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "imageReference",
+ "verificationType",
+ "osType",
+ "nodeAgentSKUId"
+ ],
+ "title": "A reference to the Azure Virtual Machines Marketplace Image and additional information about the Image."
+ },
+ "AuthenticationTokenSettings": {
+ "properties": {
+ "access": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "x-nullable": false,
+ "enum": [
+ "job"
+ ],
+ "x-ms-enum": {
+ "name": "AccessScope",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "job",
+ "description": "Grants access to perform all operations on the Job containing the Task."
+ }
+ ]
+ }
+ },
+ "title": "The Batch resources to which the token grants access.",
+ "description": "The authentication token grants access to a limited set of Batch service operations. Currently the only supported value for the access property is 'job', which grants access to all operations related to the Job which contains the Task."
+ }
+ },
+ "title": "The settings for an authentication token that the Task can use to perform Batch service operations."
+ },
+ "AccountListSupportedImagesResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageInformation"
+ },
+ "title": "The list of supported Virtual Machine Images."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of listing the supported Virtual Machine Images."
+ },
+ "UsageStatistics": {
+ "properties": {
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The start time of the time range covered by the statistics."
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime."
+ },
+ "dedicatedCoreTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The aggregated wall-clock time of the dedicated Compute Node cores being part of the Pool."
+ }
+ },
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
+ "title": "Statistics related to Pool usage information."
+ },
+ "ResourceStatistics": {
+ "properties": {
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The start time of the time range covered by the statistics."
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime."
+ },
+ "avgCPUPercentage": {
+ "type": "number",
+ "format": "double",
+ "title": "The average CPU usage across all Compute Nodes in the Pool (percentage per node)."
+ },
+ "avgMemoryGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The average memory usage in GiB across all Compute Nodes in the Pool."
+ },
+ "peakMemoryGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The peak memory usage in GiB across all Compute Nodes in the Pool."
+ },
+ "avgDiskGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The average used disk space in GiB across all Compute Nodes in the Pool."
+ },
+ "peakDiskGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The peak used disk space in GiB across all Compute Nodes in the Pool."
+ },
+ "diskReadIOps": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of disk read operations across all Compute Nodes in the Pool."
+ },
+ "diskWriteIOps": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of disk write operations across all Compute Nodes in the Pool."
+ },
+ "diskReadGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The total amount of data in GiB of disk reads across all Compute Nodes in the Pool."
+ },
+ "diskWriteGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The total amount of data in GiB of disk writes across all Compute Nodes in the Pool."
+ },
+ "networkReadGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The total amount of data in GiB of network reads across all Compute Nodes in the Pool."
+ },
+ "networkWriteGiB": {
+ "type": "number",
+ "format": "double",
+ "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"
+ ],
+ "title": "Statistics related to resource consumption by Compute Nodes in a Pool."
+ },
+ "PoolStatistics": {
+ "properties": {
+ "url": {
+ "type": "string",
+ "title": "The URL for the statistics."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The start time of the time range covered by the statistics."
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime."
+ },
+ "usageStats": {
+ "$ref": "#/definitions/UsageStatistics",
+ "title": "Statistics related to Pool usage, such as the amount of core-time used."
+ },
+ "resourceStats": {
+ "$ref": "#/definitions/ResourceStatistics",
+ "title": "Statistics related to resource consumption by Compute Nodes in the Pool."
+ }
+ },
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
+ "title": "Contains utilization and resource usage statistics for the lifetime of a Pool."
+ },
+ "JobStatistics": {
+ "properties": {
+ "url": {
+ "type": "string",
+ "title": "The URL of the statistics."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The start time of the time range covered by the statistics."
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime."
+ },
+ "userCPUTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The total user mode CPU time (summed across all cores and all Compute Nodes) consumed by all Tasks in the Job."
+ },
+ "kernelCPUTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The total kernel mode CPU time (summed across all cores and all Compute Nodes) consumed by all Tasks in the Job."
+ },
+ "wallClockTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The total wall clock time of all Tasks in the Job.",
+ "description": " The wall clock time is the elapsed time from when the Task started running on a Compute Node to when it finished (or to the last time the statistics were updated, if the Task had not finished by then). If a Task was retried, this includes the wall clock time of all the Task retries."
+ },
+ "readIOps": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of disk read operations made by all Tasks in the Job."
+ },
+ "writeIOps": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of disk write operations made by all Tasks in the Job."
+ },
+ "readIOGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The total amount of data in GiB read from disk by all Tasks in the Job."
+ },
+ "writeIOGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The total amount of data in GiB written to disk by all Tasks in the Job."
+ },
+ "numSucceededTasks": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of Tasks successfully completed in the Job during the given time range.",
+ "description": "A Task completes successfully if it returns exit code 0."
+ },
+ "numFailedTasks": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of Tasks in the Job that failed during the given time range.",
+ "description": "A Task fails if it exhausts its maximum retry count without returning exit code 0."
+ },
+ "numTaskRetries": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of retries on all the Tasks in the Job during the given time range."
+ },
+ "waitTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The total wait time of all Tasks in the Job.",
+ "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"
+ ],
+ "title": "Resource usage statistics for a Job."
+ },
+ "NameValuePair": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "The name in the name-value pair."
+ },
+ "value": {
+ "type": "string",
+ "title": "The value in the name-value pair."
+ }
+ },
+ "title": "Represents a name-value pair."
+ },
+ "DeleteCertificateError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "title": "An identifier for the Certificate deletion error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "title": "A message describing the Certificate deletion error, intended to be suitable for display in a user interface."
+ },
+ "values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NameValuePair"
+ },
+ "title": "A list of additional error details related to the Certificate deletion error.",
+ "description": "This list includes details such as the active Pools and Compute Nodes referencing this Certificate. However, if a large number of resources reference the Certificate, the list contains only about the first hundred."
+ }
+ },
+ "title": "An error encountered by the Batch service when deleting a Certificate."
+ },
+ "Certificate": {
+ "properties": {
+ "thumbprint": {
+ "type": "string",
+ "title": "The X.509 thumbprint of the Certificate. This is a sequence of up to 40 hex digits."
+ },
+ "thumbprintAlgorithm": {
+ "type": "string",
+ "title": "The algorithm used to derive the thumbprint."
+ },
+ "url": {
+ "type": "string",
+ "title": "The URL of the Certificate."
+ },
+ "state": {
+ "title": "The current state of the Certificate.",
+ "$ref": "#/definitions/CertificateState"
+ },
+ "stateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Certificate entered its current state."
+ },
+ "previousState": {
+ "title": "The previous state of the Certificate.",
+ "description": "This property is not set if the Certificate is in its initial active state.",
+ "$ref": "#/definitions/CertificateState"
+ },
+ "previousStateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Certificate entered its previous state.",
+ "description": "This property is not set if the Certificate is in its initial Active state."
+ },
+ "publicData": {
+ "type": "string",
+ "title": "The public part of the Certificate as a base-64 encoded .cer file."
+ },
+ "deleteCertificateError": {
+ "$ref": "#/definitions/DeleteCertificateError",
+ "title": "The error that occurred on the last attempt to delete this Certificate.",
+ "description": "This property is set only if the Certificate is in the DeleteFailed state."
+ }
+ },
+ "description": "A Certificate that can be installed on Compute Nodes and can be used to authenticate operations on the machine."
+ },
+ "ApplicationPackageReference": {
+ "properties": {
+ "applicationId": {
+ "type": "string",
+ "title": "The ID of the application to deploy."
+ },
+ "version": {
+ "type": "string",
+ "title": "The version of the application to deploy. If omitted, the default version is deployed.",
+ "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"
+ ],
+ "title": "A reference to an Package to be deployed to Compute Nodes."
+ },
+ "ApplicationSummary": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the application within the Account."
+ },
+ "displayName": {
+ "type": "string",
+ "title": "The display name for the application."
+ },
+ "versions": {
+ "type": "array",
+ "title": "The list of available versions of the application.",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
+ "title": "Contains information about an application in an Azure Batch Account."
+ },
+ "CertificateAddParameter": {
+ "properties": {
+ "thumbprint": {
+ "type": "string",
+ "title": "The X.509 thumbprint of the Certificate. This is a sequence of up to 40 hex digits (it may include spaces but these are removed)."
+ },
+ "thumbprintAlgorithm": {
+ "type": "string",
+ "title": "The algorithm used to derive the thumbprint. This must be sha1."
+ },
+ "data": {
+ "type": "string",
+ "title": "The base64-encoded contents of the Certificate. The maximum size is 10KB."
+ },
+ "certificateFormat": {
+ "type": "string",
+ "title": "The format of the Certificate data.",
+ "enum": [
+ "pfx",
+ "cer"
+ ],
+ "x-ms-enum": {
+ "name": "CertificateFormat",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "pfx",
+ "description": "The Certificate is a PFX (PKCS#12) formatted Certificate or Certificate chain."
+ },
+ {
+ "value": "cer",
+ "description": "The Certificate is a base64-encoded X.509 Certificate."
+ }
+ ]
+ }
+ },
+ "password": {
+ "type": "string",
+ "title": "The password to access the Certificate's private key.",
+ "description": "This is required if the Certificate format is pfx. It should be omitted if the Certificate format is cer."
+ }
+ },
+ "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": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Certificate"
+ },
+ "title": "The list of Certificates."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of listing the Certificates in the Account."
+ },
+ "FileProperties": {
+ "properties": {
+ "creationTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The file creation time.",
+ "description": "The creation time is not returned for files on Linux Compute Nodes."
+ },
+ "lastModified": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the file was last modified."
+ },
+ "contentLength": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The length of the file."
+ },
+ "contentType": {
+ "type": "string",
+ "title": "The content type of the file."
+ },
+ "fileMode": {
+ "type": "string",
+ "title": "The file mode attribute in octal format.",
+ "description": "The file mode is returned only for files on Linux Compute Nodes."
+ }
+ },
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
+ "title": "The properties of a file on a Compute Node."
+ },
+ "NodeFile": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "The file path."
+ },
+ "url": {
+ "type": "string",
+ "title": "The URL of the file."
+ },
+ "isDirectory": {
+ "type": "boolean",
+ "title": "Whether the object represents a directory."
+ },
+ "properties": {
+ "$ref": "#/definitions/FileProperties",
+ "title": "The file properties."
+ }
+ },
+ "title": "Information about a file or directory on a Compute Node."
+ },
+ "NodeFileListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NodeFile"
+ },
+ "title": "The list of files."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of listing the files on a Compute Node, or the files associated with a Task on a Compute Node."
+ },
+ "Schedule": {
+ "properties": {
+ "doNotRunUntil": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The earliest time at which any Job may be created under this Job Schedule.",
+ "description": "If you do not specify a doNotRunUntil time, the schedule becomes ready to create Jobs immediately."
+ },
+ "doNotRunAfter": {
+ "type": "string",
+ "format": "date-time",
+ "title": "A time after which no Job will be created under this Job Schedule. The schedule will move to the completed state as soon as this deadline is past and there is no active Job under this Job Schedule.",
+ "description": "If you do not specify a doNotRunAfter time, and you are creating a recurring Job Schedule, the Job Schedule will remain active until you explicitly terminate it."
+ },
+ "startWindow": {
+ "type": "string",
+ "format": "duration",
+ "title": "The time interval, starting from the time at which the schedule indicates a Job should be created, within which a Job must be created.",
+ "description": "If a Job is not created within the startWindow interval, then the 'opportunity' is lost; no Job will be created until the next recurrence of the schedule. If the schedule is recurring, and the startWindow is longer than the recurrence interval, then this is equivalent to an infinite startWindow, because the Job that is 'due' in one recurrenceInterval is not carried forward into the next recurrence interval. The default is infinite. The minimum value is 1 minute. If you specify a lower value, the Batch service rejects the schedule with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
+ },
+ "recurrenceInterval": {
+ "type": "string",
+ "format": "duration",
+ "title": "The time interval between the start times of two successive Jobs under the Job Schedule. A Job Schedule can have at most one active Job under it at any given time.",
+ "description": "Because a Job Schedule can have at most one active Job under it at any given time, if it is time to create a new Job under a Job Schedule, but the previous Job is still running, the Batch service will not create the new Job until the previous Job finishes. If the previous Job does not finish within the startWindow period of the new recurrenceInterval, then no new Job will be scheduled for that interval. For recurring Jobs, you should normally specify a jobManagerTask in the jobSpecification. If you do not use jobManagerTask, you will need an external process to monitor when Jobs are created, add Tasks to the Jobs and terminate the Jobs ready for the next recurrence. The default is that the schedule does not recur: one Job is created, within the startWindow after the doNotRunUntil time, and the schedule is complete as soon as that Job finishes. The minimum value is 1 minute. If you specify a lower value, the Batch service rejects the schedule with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
+ }
+ },
+ "title": "The schedule according to which Jobs will be created"
+ },
+ "JobConstraints": {
+ "properties": {
+ "maxWallClockTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The maximum elapsed time that the Job may run, measured from the time the Job is created.",
+ "description": "If the Job does not complete within the time limit, the Batch service terminates it and any Tasks that are still running. In this case, the termination reason will be MaxWallClockTimeExpiry. If this property is not specified, there is no time limit on how long the Job may run."
+ },
+ "maxTaskRetryCount": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The maximum number of times each Task may be retried. The Batch service retries a Task if its exit code is nonzero.",
+ "description": "Note that this value specifically controls the number of retries. The Batch service will try each Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries a Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry Tasks. If the maximum retry count is -1, the Batch service retries Tasks without limit. The default value is 0 (no retries)."
+ }
+ },
+ "title": "The execution constraints for a Job."
+ },
+ "JobNetworkConfiguration": {
+ "properties": {
+ "subnetId": {
+ "type": "string",
+ "title": "The ARM resource identifier of the virtual network subnet which Compute Nodes running Tasks from the Job will join for the duration of the Task. This will only work with a VirtualMachineConfiguration Pool.",
+ "description": "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 Compute Nodes which will run Tasks from the Job. This can be up to the number of Compute Nodes in the Pool. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet so that Azure Batch service can schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication from the Azure Batch service. For Pools created with a Virtual Machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Port 443 is also required to be open for outbound connections for communications to Azure Storage. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration",
+ "externalDocs": {
+ "url": "https://azure.microsoft.com/en-us/documentation/articles/role-based-access-built-in-roles/#classic-virtual-machine-contributor",
+ "description": "Setting up RBAC for Azure Batch VNETs"
+ }
+ }
+ },
+ "required": [
+ "subnetId"
+ ],
+ "title": "The network configuration for the Job."
+ },
+ "TaskContainerSettings": {
+ "properties": {
+ "containerRunOptions": {
+ "type": "string",
+ "title": "Additional options to the container create command.",
+ "description": "These additional options are supplied as arguments to the \"docker create\" command, in addition to those controlled by the Batch Service."
+ },
+ "imageName": {
+ "type": "string",
+ "title": "The Image to use to create the container in which the Task will run.",
+ "description": "This is the full Image reference, as would be specified to \"docker pull\". If no tag is provided as part of the Image name, the tag \":latest\" is used as a default."
+ },
+ "registry": {
+ "$ref": "#/definitions/ContainerRegistry",
+ "title": "The private registry which contains the container Image.",
+ "description": "This setting can be omitted if was already provided at Pool creation."
+ },
+ "workingDirectory": {
+ "type": "string",
+ "title": "The location of the container Task working directory.",
+ "description": "The default is 'taskWorkingDirectory'.",
+ "enum": [
+ "taskWorkingDirectory",
+ "containerImageDefault"
+ ],
+ "x-ms-enum": {
+ "name": "ContainerWorkingDirectory",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "taskWorkingDirectory",
+ "description": "Use the standard Batch service Task working directory, which will contain the Task Resource Files populated by Batch."
+ },
+ {
+ "value": "containerImageDefault",
+ "description": "Use the working directory defined in the container Image. Beware that this directory will not contain the Resource Files downloaded by Batch."
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "imageName"
+ ],
+ "title": "The container settings for a Task."
+ },
+ "ResourceFile": {
+ "properties": {
+ "autoStorageContainerName": {
+ "type": "string",
+ "title": "The storage container name in the auto storage Account.",
+ "description": "The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified."
+ },
+ "storageContainerUrl": {
+ "type": "string",
+ "title": "The URL of the blob container within Azure Blob Storage.",
+ "description": "The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable using anonymous access; that is, the Batch service does not present any credentials when downloading blobs from the container. There are two ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, or set the ACL for the container to allow public access."
+ },
+ "httpUrl": {
+ "type": "string",
+ "title": "The URL of the file to download.",
+ "description": "The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, or set the ACL for the blob or its container to allow public access."
+ },
+ "blobPrefix": {
+ "type": "string",
+ "title": "The blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded.",
+ "description": "The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded."
+ },
+ "filePath": {
+ "type": "string",
+ "title": "The location on the Compute Node to which to download the file(s), relative to the Task's working directory.",
+ "description": "If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the Task's working directory (for example by using '..')."
+ },
+ "fileMode": {
+ "type": "string",
+ "title": "The file permission mode attribute in octal format.",
+ "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 Compute Node. If this property is not specified for a Linux Compute Node, then a default value of 0770 is applied to the file."
+ }
+ },
+ "title": "A single file or multiple files to be downloaded to a Compute Node."
+ },
+ "EnvironmentSetting": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "The name of the environment variable."
+ },
+ "value": {
+ "type": "string",
+ "title": "The value of the environment variable."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "An environment variable to be set on a Task process."
+ },
+ "ExitConditions": {
+ "properties": {
+ "exitCodes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExitCodeMapping"
+ },
+ "title": "A list of individual Task exit codes and how the Batch service should respond to them."
+ },
+ "exitCodeRanges": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExitCodeRangeMapping"
+ },
+ "title": "A list of Task exit code ranges and how the Batch service should respond to them."
+ },
+ "preProcessingError": {
+ "$ref": "#/definitions/ExitOptions",
+ "title": "How the Batch service should respond if the Task fails to start due to an error."
+ },
+ "fileUploadError": {
+ "$ref": "#/definitions/ExitOptions",
+ "title": "How the Batch service should respond if a file upload error occurs.",
+ "description": "If the Task exited with an exit code that was specified via exitCodes or exitCodeRanges, and then encountered a file upload error, then the action specified by the exit code takes precedence."
+ },
+ "default": {
+ "$ref": "#/definitions/ExitOptions",
+ "title": "How the Batch service should respond if the Task fails with an exit condition not covered by any of the other properties.",
+ "description": "This value is used if the Task exits with any nonzero exit code not listed in the exitCodes or exitCodeRanges collection, with a pre-processing error if the preProcessingError property is not present, or with a file upload error if the fileUploadError property is not present. If you want non-default behavior on exit code 0, you must list it explicitly using the exitCodes or exitCodeRanges collection."
+ }
+ },
+ "title": "Specifies how the Batch service should respond when the Task completes."
+ },
+ "ExitCodeMapping": {
+ "properties": {
+ "code": {
+ "type": "integer",
+ "format": "int32",
+ "title": "A process exit code."
+ },
+ "exitOptions": {
+ "$ref": "#/definitions/ExitOptions",
+ "title": "How the Batch service should respond if the Task exits with this exit code."
+ }
+ },
+ "title": "How the Batch service should respond if a Task exits with a particular exit code.",
+ "required": [
+ "code",
+ "exitOptions"
+ ]
+ },
+ "ExitCodeRangeMapping": {
+ "properties": {
+ "start": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The first exit code in the range."
+ },
+ "end": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The last exit code in the range."
+ },
+ "exitOptions": {
+ "$ref": "#/definitions/ExitOptions",
+ "title": "How the Batch service should respond if the Task exits with an exit code in the range start to end (inclusive)."
+ }
+ },
+ "title": "A range of exit codes and how the Batch service should respond to exit codes within that range.",
+ "required": [
+ "start",
+ "end",
+ "exitOptions"
+ ]
+ },
+ "ExitOptions": {
+ "properties": {
+ "jobAction": {
+ "type": "string",
+ "title": "An action to take on the Job containing the Task, if the Task completes with the given exit condition and the Job's onTaskFailed property is 'performExitOptionsJobAction'.",
+ "description": "The default is none for exit code 0 and terminate for all other exit conditions. If the Job's onTaskFailed property is noaction, then specifying this property returns an error and the add Task request fails with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).",
+ "enum": [
+ "none",
+ "disable",
+ "terminate"
+ ],
+ "x-ms-enum": {
+ "name": "JobAction",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "none",
+ "description": "Take no action."
+ },
+ {
+ "value": "disable",
+ "description": "Disable the Job. This is equivalent to calling the disable Job API, with a disableTasks value of requeue."
+ },
+ {
+ "value": "terminate",
+ "description": "Terminate the Job. The terminateReason in the Job's executionInfo is set to \"TaskFailed\"."
+ }
+ ]
+ }
+ },
+ "dependencyAction": {
+ "type": "string",
+ "title": "An action that the Batch service performs on Tasks that depend on this Task.",
+ "description": "Possible values are 'satisfy' (allowing dependent tasks to progress) and 'block' (dependent tasks continue to wait). Batch does not yet support cancellation of dependent tasks.",
+ "enum": [
+ "satisfy",
+ "block"
+ ],
+ "x-ms-enum": {
+ "name": "DependencyAction",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "satisfy",
+ "description": "Satisfy tasks waiting on this task; once all dependencies are satisfied, the task will be scheduled to run."
+ },
+ {
+ "value": "block",
+ "description": "Blocks tasks waiting on this task, preventing them from being scheduled."
+ }
+ ]
+ }
+ }
+ },
+ "title": "Specifies how the Batch service responds to a particular exit condition."
+ },
+ "AutoUserSpecification": {
+ "properties": {
+ "scope": {
+ "type": "string",
+ "title": "The scope for the auto user",
+ "description": "The default value is pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by StartTasks.",
+ "enum": [
+ "task",
+ "pool"
+ ],
+ "x-ms-enum": {
+ "name": "AutoUserScope",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "task",
+ "description": "Specifies that the service should create a new user for the Task."
+ },
+ {
+ "value": "pool",
+ "description": "Specifies that the Task runs as the common auto user Account which is created on every Compute Node in a Pool."
+ }
+ ]
+ }
+ },
+ "elevationLevel": {
+ "title": "The elevation level of the auto user.",
+ "description": "The default value is nonAdmin.",
+ "$ref": "#/definitions/ElevationLevel"
+ }
+ },
+ "title": "Specifies the parameters for the auto user that runs a Task on the Batch service."
+ },
+ "UserIdentity": {
+ "properties": {
+ "username": {
+ "type": "string",
+ "x-ms-client-name": "userName",
+ "title": "The name of the user identity under which the Task is run.",
+ "description": "The userName and autoUser properties are mutually exclusive; you must specify one but not both."
+ },
+ "autoUser": {
+ "$ref": "#/definitions/AutoUserSpecification",
+ "title": "The auto user under which the Task is run.",
+ "description": "The userName and autoUser properties are mutually exclusive; you must specify one but not both."
+ }
+ },
+ "title": "The definition of the user identity under which the Task is run.",
+ "description": "Specify either the userName or autoUser property, but not both."
+ },
+ "LinuxUserConfiguration": {
+ "properties": {
+ "uid": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The user ID of the user Account.",
+ "description": "The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid."
+ },
+ "gid": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The group ID for the user Account.",
+ "description": "The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid."
+ },
+ "sshPrivateKey": {
+ "type": "string",
+ "title": "The SSH private key for the user Account.",
+ "description": "The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between Compute Nodes in a Linux Pool when the Pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between Compute Nodes (no modification of the user's .ssh directory is done)."
+ }
+ },
+ "title": "Properties used to create a user Account on a Linux Compute Node."
+ },
+ "WindowsUserConfiguration": {
+ "properties": {
+ "loginMode": {
+ "type": "string",
+ "title": "The login mode for the user",
+ "description": "The default value for VirtualMachineConfiguration Pools is 'batch' and for CloudServiceConfiguration Pools is 'interactive'.",
+ "enum": [
+ "batch",
+ "interactive"
+ ],
+ "x-ms-enum": {
+ "name": "LoginMode",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "batch",
+ "description": "The LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes."
+ },
+ {
+ "value": "interactive",
+ "description": "The LOGON32_LOGON_INTERACTIVE Win32 login mode. UAC is enabled on Windows VirtualMachineConfiguration Pools. If this option is used with an elevated user identity in a Windows VirtualMachineConfiguration Pool, the user session will not be elevated unless the application executed by the Task command line is configured to always require administrative privilege or to always require maximum privilege."
+ }
+ ]
+ }
+ }
+ },
+ "title": "Properties used to create a user Account on a Windows Compute Node."
+ },
+ "UserAccount": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "The name of the user Account."
+ },
+ "password": {
+ "type": "string",
+ "title": "The password for the user Account."
+ },
+ "elevationLevel": {
+ "title": "The elevation level of the user Account.",
+ "description": "The default value is nonAdmin.",
+ "$ref": "#/definitions/ElevationLevel"
+ },
+ "linuxUserConfiguration": {
+ "title": "The Linux-specific user configuration for the user Account.",
+ "description": "This property is ignored if specified on a Windows Pool. If not specified, the user is created with the default options.",
+ "$ref": "#/definitions/LinuxUserConfiguration"
+ },
+ "windowsUserConfiguration": {
+ "title": "The Windows-specific user configuration for the user Account.",
+ "description": "This property can only be specified if the user is on a Windows Pool. If not specified and on a Windows Pool, the user is created with the default options.",
+ "$ref": "#/definitions/WindowsUserConfiguration"
+ }
+ },
+ "required": [
+ "name",
+ "password"
+ ],
+ "title": "Properties used to create a user used to execute Tasks on an Azure Batch Compute Node."
+ },
+ "TaskConstraints": {
+ "properties": {
+ "maxWallClockTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The maximum elapsed time that the Task may run, measured from the time the Task starts. If the Task does not complete within the time limit, the Batch service terminates it.",
+ "description": "If this is not specified, there is no time limit on how long the Task may run."
+ },
+ "retentionTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The minimum time to retain the Task directory on the Compute Node where it ran, from the time it completes execution. After this time, the Batch service may delete the Task directory and all its contents.",
+ "description": "The default is 7 days, i.e. the Task directory will be retained for 7 days unless the Compute Node is removed or the Job is deleted."
+ },
+ "maxTaskRetryCount": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The maximum number of times the Task may be retried. The Batch service retries a Task if its exit code is nonzero.",
+ "description": "Note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task after the first attempt. If the maximum retry count is -1, the Batch service retries the Task without limit."
+ }
+ },
+ "title": "Execution constraints to apply to a Task."
+ },
+ "JobManagerTask": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the Job Manager Task within the Job.",
+ "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters."
+ },
+ "displayName": {
+ "type": "string",
+ "title": "The display name of the Job Manager Task.",
+ "description": "It need not be unique and can contain any Unicode characters up to a maximum length of 1024."
+ },
+ "commandLine": {
+ "type": "string",
+ "title": "The command line of the Job Manager Task.",
+ "description": "The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)."
+ },
+ "containerSettings": {
+ "$ref": "#/definitions/TaskContainerSettings",
+ "title": "The settings for the container under which the Job Manager Task runs.",
+ "description": "If the Pool that will run this Task has containerConfiguration set, this must be set as well. If the Pool that will run this Task doesn't have containerConfiguration set, this must not be set. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files."
+ },
+ "resourceFiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceFile"
+ },
+ "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": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OutputFile"
+ },
+ "title": "A list of files that the Batch service will upload from the Compute Node after running the command line.",
+ "description": "For multi-instance Tasks, the files will only be uploaded from the Compute Node on which the primary Task is executed."
+ },
+ "environmentSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentSetting"
+ },
+ "title": "A list of environment variable settings for the Job Manager Task."
+ },
+ "constraints": {
+ "$ref": "#/definitions/TaskConstraints",
+ "title": "Constraints that apply to the Job Manager Task."
+ },
+ "killJobOnCompletion": {
+ "type": "boolean",
+ "title": "Whether completion of the Job Manager Task signifies completion of the entire Job.",
+ "description": "If true, when the Job Manager Task completes, the Batch service marks the Job as complete. If any Tasks are still running at this time (other than Job Release), those Tasks are terminated. If false, the completion of the Job Manager Task does not affect the Job status. In this case, you should either use the onAllTasksComplete attribute to terminate the Job, or have a client or user terminate the Job explicitly. An example of this is if the Job Manager creates a set of Tasks but then takes no further role in their execution. The default value is true. If you are using the onAllTasksComplete and onTaskFailure attributes to control Job lifetime, and using the Job Manager Task only to create the Tasks for the Job (not to monitor progress), then it is important to set killJobOnCompletion to false."
+ },
+ "userIdentity": {
+ "$ref": "#/definitions/UserIdentity",
+ "title": "The user identity under which the Job Manager Task runs.",
+ "description": "If omitted, the Task runs as a non-administrative user unique to the Task."
+ },
+ "runExclusive": {
+ "type": "boolean",
+ "title": "Whether the Job Manager Task requires exclusive use of the Compute Node where it runs.",
+ "description": "If true, no other Tasks will run on the same Node for as long as the Job Manager is running. If false, other Tasks can run simultaneously with the Job Manager on a Compute Node. The Job Manager Task counts normally against the Compute Node's concurrent Task limit, so this is only relevant if the Compute Node allows multiple concurrent Tasks. The default value is true."
+ },
+ "applicationPackageReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationPackageReference"
+ },
+ "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.",
+ "description": "If this property is set, the Batch service provides the Task with an authentication token which can be used to authenticate Batch service operations without requiring an Account access key. The token is provided via the AZ_BATCH_AUTHENTICATION_TOKEN environment variable. The operations that the Task can carry out using the token depend on the settings. For example, a Task can request Job permissions in order to add other Tasks to the Job, or check the status of the Job or of other Tasks under the Job.",
+ "$ref": "#/definitions/AuthenticationTokenSettings"
+ },
+ "allowLowPriorityNode": {
+ "type": "boolean",
+ "title": "Whether the Job Manager Task may run on a low-priority Compute Node.",
+ "description": "The default value is true."
+ }
+ },
+ "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."
+ },
+ "JobPreparationTask": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the Job Preparation Task within the Job.",
+ "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters. If you do not specify this property, the Batch service assigns a default value of 'jobpreparation'. No other Task in the Job can have the same ID as the Job Preparation Task. If you try to submit a Task with the same id, the Batch service rejects the request with error code TaskIdSameAsJobPreparationTask; if you are calling the REST API directly, the HTTP status code is 409 (Conflict)."
+ },
+ "commandLine": {
+ "type": "string",
+ "title": "The command line of the Job Preparation Task.",
+ "description": "The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)."
+ },
+ "containerSettings": {
+ "$ref": "#/definitions/TaskContainerSettings",
+ "title": "The settings for the container under which the Job Preparation Task runs.",
+ "description": "When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files."
+ },
+ "resourceFiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceFile"
+ },
+ "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."
+ },
+ "environmentSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentSetting"
+ },
+ "title": "A list of environment variable settings for the Job Preparation Task."
+ },
+ "constraints": {
+ "$ref": "#/definitions/TaskConstraints",
+ "title": "Constraints that apply to the Job Preparation Task."
+ },
+ "waitForSuccess": {
+ "type": "boolean",
+ "title": "Whether the Batch service should wait for the Job Preparation Task to complete successfully before scheduling any other Tasks of the Job on the Compute Node. A Job Preparation Task has completed successfully if it exits with exit code 0.",
+ "description": "If true and the Job Preparation Task fails on a Node, the Batch service retries the Job Preparation Task up to its maximum retry count (as specified in the constraints element). If the Task has still not completed successfully after all retries, then the Batch service will not schedule Tasks of the Job to the Node. The Node remains active and eligible to run Tasks of other Jobs. If false, the Batch service will not wait for the Job Preparation Task to complete. In this case, other Tasks of the Job can start executing on the Compute Node while the Job Preparation Task is still running; and even if the Job Preparation Task fails, new Tasks will continue to be scheduled on the Compute Node. The default value is true."
+ },
+ "userIdentity": {
+ "$ref": "#/definitions/UserIdentity",
+ "title": "The user identity under which the Job Preparation Task runs.",
+ "description": "If omitted, the Task runs as a non-administrative user unique to the Task on Windows Compute Nodes, or a non-administrative user unique to the Pool on Linux Compute Nodes."
+ },
+ "rerunOnNodeRebootAfterSuccess": {
+ "type": "boolean",
+ "title": "Whether the Batch service should rerun the Job Preparation Task after a Compute Node reboots.",
+ "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"
+ ],
+ "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."
+ },
+ "JobReleaseTask": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the Job Release Task within the Job.",
+ "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters. If you do not specify this property, the Batch service assigns a default value of 'jobrelease'. No other Task in the Job can have the same ID as the Job Release Task. If you try to submit a Task with the same id, the Batch service rejects the request with error code TaskIdSameAsJobReleaseTask; if you are calling the REST API directly, the HTTP status code is 409 (Conflict)."
+ },
+ "commandLine": {
+ "type": "string",
+ "title": "The command line of the Job Release Task.",
+ "description": "The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)."
+ },
+ "containerSettings": {
+ "$ref": "#/definitions/TaskContainerSettings",
+ "title": "The settings for the container under which the Job Release Task runs.",
+ "description": "When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files."
+ },
+ "resourceFiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceFile"
+ },
+ "title": "A list of files that the Batch service will download to the Compute Node before running the command line. 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.",
+ "description": "Files listed under this element are located in the Task's working directory."
+ },
+ "environmentSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentSetting"
+ },
+ "title": "A list of environment variable settings for the Job Release Task."
+ },
+ "maxWallClockTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The maximum elapsed time that the Job Release Task may run on a given Compute Node, measured from the time the Task starts. If the Task does not complete within the time limit, the Batch service terminates it. The default value is 15 minutes. You may not specify a timeout longer than 15 minutes. If you do, the Batch service rejects it with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
+ },
+ "retentionTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The minimum time to retain the Task directory for the Job Release Task on the Compute Node. After this time, the Batch service may delete the Task directory and all its contents.",
+ "description": "The default is 7 days, i.e. the Task directory will be retained for 7 days unless the Compute Node is removed or the Job is deleted."
+ },
+ "userIdentity": {
+ "$ref": "#/definitions/UserIdentity",
+ "title": "The user identity under which the Job Release Task runs.",
+ "description": "If omitted, the Task runs as a non-administrative user unique to the Task."
+ }
+ },
+ "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."
+ },
+ "TaskSchedulingPolicy": {
+ "properties": {
+ "nodeFillType": {
+ "type": "string",
+ "title": "How Tasks are distributed across Compute Nodes in a Pool.",
+ "description": "If not specified, the default is spread.",
+ "enum": [
+ "spread",
+ "pack"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeNodeFillType",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "spread",
+ "description": "Tasks should be assigned evenly across all Compute Nodes in the Pool."
+ },
+ {
+ "value": "pack",
+ "description": "As many Tasks as possible (maxTasksPerNode) should be assigned to each Compute Node in the Pool before any Tasks are assigned to the next Compute Node in the Pool."
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "nodeFillType"
+ ],
+ "title": "Specifies how Tasks should be distributed across Compute Nodes."
+ },
+ "StartTask": {
+ "properties": {
+ "commandLine": {
+ "type": "string",
+ "title": "The command line of the StartTask.",
+ "description": "The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)."
+ },
+ "containerSettings": {
+ "$ref": "#/definitions/TaskContainerSettings",
+ "title": "The settings for the container under which the StartTask runs.",
+ "description": "When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files."
+ },
+ "resourceFiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceFile"
+ },
+ "title": "A list of files that the Batch service will download to the Compute Node before running the command line. 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.",
+ "description": "Files listed under this element are located in the Task's working directory."
+ },
+ "environmentSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentSetting"
+ },
+ "title": "A list of environment variable settings for the StartTask."
+ },
+ "userIdentity": {
+ "$ref": "#/definitions/UserIdentity",
+ "title": "The user identity under which the StartTask runs.",
+ "description": "If omitted, the Task runs as a non-administrative user unique to the Task."
+ },
+ "maxTaskRetryCount": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The maximum number of times the Task may be retried.",
+ "description": "The Batch service retries a Task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task. If the maximum retry count is -1, the Batch service retries the Task without limit."
+ },
+ "waitForSuccess": {
+ "type": "boolean",
+ "title": "Whether the Batch service should wait for the StartTask to complete successfully (that is, to exit with exit code 0) before scheduling any Tasks on the Compute Node.",
+ "description": "If true and the StartTask fails on a Node, the Batch service retries the StartTask 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 StartTask to complete. In this case, other Tasks can start executing on the Compute Node while the StartTask is still running; and even if the StartTask fails, new Tasks will continue to be scheduled on the Compute Node. The default is true."
+ }
+ },
+ "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 StartTask may be re-run even though the Compute Node was not rebooted. Special care should be taken to avoid StartTasks which create breakaway process or install/launch services from the StartTask working directory, as this will block Batch from being able to re-run the StartTask."
+ },
+ "CertificateReference": {
+ "properties": {
+ "thumbprint": {
+ "type": "string",
+ "title": "The thumbprint of the Certificate."
+ },
+ "thumbprintAlgorithm": {
+ "type": "string",
+ "title": "The algorithm with which the thumbprint is associated. This must be sha1."
+ },
+ "storeLocation": {
+ "type": "string",
+ "title": "The location of the Certificate store on the Compute Node into which to install the Certificate.",
+ "description": "The default value is currentuser. This property is applicable only for Pools configured with Windows Compute Nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows Image reference). 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/{user-name}/certs) and Certificates are placed in that directory.",
+ "enum": [
+ "currentuser",
+ "localmachine"
+ ],
+ "x-ms-enum": {
+ "name": "CertificateStoreLocation",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "currentuser",
+ "description": "Certificates should be installed to the CurrentUser Certificate store.",
+ "name": "currentUser"
+ },
+ {
+ "value": "localmachine",
+ "description": "Certificates should be installed to the LocalMachine Certificate store.",
+ "name": "localMachine"
+ }
+ ]
+ }
+ },
+ "storeName": {
+ "type": "string",
+ "title": "The name of the Certificate store on the Compute Node into which to install the Certificate.",
+ "description": "This property is applicable only for Pools configured with Windows Compute Nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows Image reference). Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My."
+ },
+ "visibility": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "x-nullable": false,
+ "enum": [
+ "starttask",
+ "task",
+ "remoteuser"
+ ],
+ "x-ms-enum": {
+ "name": "CertificateVisibility",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "starttask",
+ "description": "The Certificate should be visible to the user account under which the StartTask is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.",
+ "name": "startTask"
+ },
+ {
+ "value": "task",
+ "description": "The Certificate should be visible to the user accounts under which Job Tasks are run."
+ },
+ {
+ "value": "remoteuser",
+ "description": "The Certificate should be visible to the user accounts under which users remotely access the Compute Node.",
+ "name": "remoteUser"
+ }
+ ]
+ }
+ },
+ "title": "Which user Accounts on the Compute Node should have access to the private data of the Certificate.",
+ "description": "You can specify more than one visibility in this collection. The default is all Accounts."
+ }
+ },
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
+ "title": "A reference to a Certificate to be installed on Compute Nodes in a Pool."
+ },
+ "MetadataItem": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "The name of the metadata item."
+ },
+ "value": {
+ "type": "string",
+ "title": "The value of the metadata item."
+ }
+ },
+ "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."
+ },
+ "PoolSpecification": {
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "title": "The display name for the Pool.",
+ "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024."
+ },
+ "vmSize": {
+ "type": "string",
+ "title": "The size of the virtual machines in the Pool. All virtual machines in a Pool are the same size.",
+ "description": "For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes)."
+ },
+ "cloudServiceConfiguration": {
+ "$ref": "#/definitions/CloudServiceConfiguration",
+ "title": "The cloud service configuration for the Pool.",
+ "description": "This property must be specified if the Pool needs to be created with Azure PaaS VMs. This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. If neither is specified then the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). This property cannot be specified if the Batch Account was created with its poolAllocationMode property set to 'UserSubscription'."
+ },
+ "virtualMachineConfiguration": {
+ "$ref": "#/definitions/VirtualMachineConfiguration",
+ "title": "The virtual machine configuration for the Pool.",
+ "description": "This property must be specified if the Pool needs to be created with Azure IaaS VMs. This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified. If neither is specified then the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
+ },
+ "maxTasksPerNode": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The maximum number of Tasks that can run concurrently on a single Compute Node in the Pool.",
+ "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the Pool or 256."
+ },
+ "taskSchedulingPolicy": {
+ "$ref": "#/definitions/TaskSchedulingPolicy",
+ "title": "How Tasks are distributed across Compute Nodes in a Pool.",
+ "description": "If not specified, the default is spread."
+ },
+ "resizeTimeout": {
+ "type": "string",
+ "format": "duration",
+ "title": "The timeout for allocation of Compute Nodes to the Pool.",
+ "description": "This timeout applies only to manual scaling; it has no effect when enableAutoScale is set to true. The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
+ },
+ "targetDedicatedNodes": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The desired number of dedicated Compute Nodes in the Pool.",
+ "description": "This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both."
+ },
+ "targetLowPriorityNodes": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The desired number of low-priority Compute Nodes in the Pool.",
+ "description": "This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both."
+ },
+ "enableAutoScale": {
+ "type": "boolean",
+ "title": "Whether the Pool size should automatically adjust over time.",
+ "description": "If false, at least one of targetDedicateNodes and targetLowPriorityNodes must be specified. If true, the autoScaleFormula element is required. The Pool automatically resizes according to the formula. The default value is false."
+ },
+ "autoScaleFormula": {
+ "type": "string",
+ "title": "The formula for the desired number of Compute Nodes in the Pool.",
+ "description": "This property must not be specified if enableAutoScale is set to false. It is required if enableAutoScale is set to true. The formula is checked for validity before the Pool is created. If the formula is not valid, the Batch service rejects the request with detailed error information."
+ },
+ "autoScaleEvaluationInterval": {
+ "type": "string",
+ "format": "duration",
+ "title": "The time interval at which to automatically adjust the Pool size according to the autoscale formula.",
+ "description": "The default value is 15 minutes. The minimum and maximum value are 5 minutes and 168 hours respectively. If you specify a value less than 5 minutes or greater than 168 hours, the Batch service rejects the request with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
+ },
+ "enableInterNodeCommunication": {
+ "type": "boolean",
+ "title": "Whether the Pool permits direct communication between Compute Nodes.",
+ "description": "Enabling inter-node communication limits the maximum size of the Pool due to deployment restrictions on the Compute Nodes of the Pool. This may result in the Pool not reaching its desired size. The default value is false."
+ },
+ "networkConfiguration": {
+ "$ref": "#/definitions/NetworkConfiguration",
+ "title": "The network configuration for the Pool."
+ },
+ "startTask": {
+ "$ref": "#/definitions/StartTask",
+ "title": "A Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted."
+ },
+ "certificateReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CertificateReference"
+ },
+ "title": "A list of Certificates to be installed on each Compute Node in the Pool.",
+ "description": "For Windows 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/{user-name}/certs) and Certificates are placed in that directory."
+ },
+ "applicationPackageReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationPackageReference"
+ },
+ "title": "The list of Packages to be installed on each Compute Node in the Pool.",
+ "description": "Changes to Package references affect all new 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 Package references on any given Pool."
+ },
+ "applicationLicenses": {
+ "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."
+ },
+ "userAccounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UserAccount"
+ },
+ "title": "The list of user Accounts to be created on each Compute Node in the Pool."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the Pool as metadata.",
+ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
+ },
+ "mountConfiguration": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MountConfiguration"
+ },
+ "title": "A list of file systems to mount on each node in the pool.",
+ "description": "This supports Azure Files, NFS, CIFS/SMB, and Blobfuse."
+ }
+ },
+ "required": [
+ "vmSize"
+ ],
+ "title": "Specification for creating a new Pool."
+ },
+ "AutoPoolSpecification": {
+ "properties": {
+ "autoPoolIdPrefix": {
+ "type": "string",
+ "title": "A prefix to be added to the unique identifier when a Pool is automatically created.",
+ "description": "The Batch service assigns each auto Pool a unique identifier on creation. To distinguish between Pools created for different purposes, you can specify this element to add a prefix to the ID that is assigned. The prefix can be up to 20 characters long."
+ },
+ "poolLifetimeOption": {
+ "type": "string",
+ "title": "The minimum lifetime of created auto Pools, and how multiple Jobs on a schedule are assigned to Pools.",
+ "enum": [
+ "jobschedule",
+ "job"
+ ],
+ "x-ms-enum": {
+ "name": "PoolLifetimeOption",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "jobschedule",
+ "description": "The Pool exists for the lifetime of the Job Schedule. The Batch Service creates the Pool when it creates the first Job on the schedule. You may apply this option only to Job Schedules, not to Jobs.",
+ "name": "jobSchedule"
+ },
+ {
+ "value": "job",
+ "description": "The Pool exists for the lifetime of the Job to which it is dedicated. The Batch service creates the Pool when it creates the Job. If the 'job' option is applied to a Job Schedule, the Batch service creates a new auto Pool for every Job created on the schedule."
+ }
+ ]
+ }
+ },
+ "keepAlive": {
+ "type": "boolean",
+ "title": "Whether to keep an auto Pool alive after its lifetime expires.",
+ "description": "If false, the Batch service deletes the Pool once its lifetime (as determined by the poolLifetimeOption setting) expires; that is, when the Job or Job Schedule completes. If true, the Batch service does not delete the Pool automatically. It is up to the user to delete auto Pools created with this option."
+ },
+ "pool": {
+ "$ref": "#/definitions/PoolSpecification",
+ "title": "The Pool specification for the auto Pool."
+ }
+ },
+ "required": [
+ "poolLifetimeOption"
+ ],
+ "title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto Pool when the Job is submitted."
+ },
+ "PoolInformation": {
+ "properties": {
+ "poolId": {
+ "type": "string",
+ "title": "The ID of an existing Pool. All the Tasks of the Job will run on the specified Pool.",
+ "description": "You must ensure that the Pool referenced by this property exists. If the Pool does not exist at the time the Batch service tries to schedule a Job, no Tasks for the Job will run until you create a Pool with that id. Note that the Batch service will not reject the Job request; it will simply not run Tasks until the Pool exists. You must specify either the Pool ID or the auto Pool specification, but not both."
+ },
+ "autoPoolSpecification": {
+ "$ref": "#/definitions/AutoPoolSpecification",
+ "title": "Characteristics for a temporary 'auto pool'. The Batch service will create this auto Pool when the Job is submitted.",
+ "description": "If auto Pool creation fails, the Batch service moves the Job to a completed state, and the Pool creation error is set in the Job's scheduling error property. The Batch service manages the lifetime (both creation and, unless keepAlive is specified, deletion) of the auto Pool. Any user actions that affect the lifetime of the auto Pool while the Job is active will result in unexpected behavior. You must specify either the Pool ID or the auto Pool specification, but not both."
+ }
+ },
+ "title": "Specifies how a Job should be assigned to a Pool."
+ },
+ "JobSpecification": {
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The priority of Jobs created under this schedule.",
+ "description": "Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0. This priority is used as the default for all Jobs under the Job Schedule. You can update a Job's priority after it has been created using by using the update Job API."
+ },
+ "displayName": {
+ "type": "string",
+ "title": "The display name for Jobs created under this schedule.",
+ "description": "The name need not be unique and can contain any Unicode characters up to a maximum length of 1024."
+ },
+ "usesTaskDependencies": {
+ "type": "boolean",
+ "title": "Whether Tasks in the Job can define dependencies on each other. The default is false."
+ },
+ "onAllTasksComplete": {
+ "title": "The action the Batch service should take when all Tasks in a Job created under this schedule are in the completed state.",
+ "description": "Note that if a Job contains no Tasks, then all Tasks are considered complete. This option is therefore most commonly used with a Job Manager task; if you want to use automatic Job termination without a Job Manager, you should initially set onAllTasksComplete to noaction and update the Job properties to set onAllTasksComplete to terminatejob once you have finished adding Tasks. The default is noaction.",
+ "$ref": "#/definitions/OnAllTasksComplete"
+ },
+ "onTaskFailure": {
+ "title": "The action the Batch service should take when any Task fails in a Job created under this schedule. A Task is considered to have failed if it have failed if has a failureInfo. A failureInfo is set if the Task completes with a non-zero exit code after exhausting its retry count, or if there was an error starting the Task, for example due to a resource file download error.",
+ "description": "The default is noaction.",
+ "$ref": "#/definitions/OnTaskFailure"
+ },
+ "networkConfiguration": {
+ "$ref": "#/definitions/JobNetworkConfiguration",
+ "title": "The network configuration for the Job."
+ },
+ "constraints": {
+ "$ref": "#/definitions/JobConstraints",
+ "title": "The execution constraints for Jobs created under this schedule."
+ },
+ "jobManagerTask": {
+ "$ref": "#/definitions/JobManagerTask",
+ "title": "The details of a Job Manager Task to be launched when a Job is started under this schedule.",
+ "description": "If the Job does not specify a Job Manager Task, the user must explicitly add Tasks to the Job using the Task API. If the Job does specify a Job Manager Task, the Batch service creates the Job Manager Task when the Job is created, and will try to schedule the Job Manager Task before scheduling other Tasks in the Job."
+ },
+ "jobPreparationTask": {
+ "$ref": "#/definitions/JobPreparationTask",
+ "title": "The Job Preparation Task for Jobs created under this schedule.",
+ "description": "If a Job has a Job Preparation Task, the Batch service will run the Job Preparation Task on a Node before starting any Tasks of that Job on that Compute Node."
+ },
+ "jobReleaseTask": {
+ "$ref": "#/definitions/JobReleaseTask",
+ "title": "The Job Release Task for Jobs created under this schedule.",
+ "description": "The primary purpose of the Job Release Task is to undo changes to Nodes made by the Job Preparation Task. Example activities include deleting local files, or shutting down services that were started as part of Job preparation. A Job Release Task cannot be specified without also specifying a Job Preparation Task for the Job. The Batch service runs the Job Release Task on the Compute Nodes that have run the Job Preparation Task."
+ },
+ "commonEnvironmentSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentSetting"
+ },
+ "title": "A list of common environment variable settings. These environment variables are set for all Tasks in Jobs created under this schedule (including the Job Manager, Job Preparation and Job Release Tasks).",
+ "description": "Individual Tasks can override an environment setting specified here by specifying the same setting name with a different value."
+ },
+ "poolInfo": {
+ "$ref": "#/definitions/PoolInformation",
+ "title": "The Pool on which the Batch service runs the Tasks of Jobs created under this schedule."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with each Job created under this schedule as metadata.",
+ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
+ }
+ },
+ "required": [
+ "poolInfo"
+ ],
+ "title": "Specifies details of the Jobs to be created on a schedule."
+ },
+ "RecentJob": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "The ID of the Job."
+ },
+ "url": {
+ "type": "string",
+ "title": "The URL of the Job."
+ }
+ },
+ "title": "Information about the most recent Job to run under the Job Schedule."
+ },
+ "JobScheduleExecutionInformation": {
+ "properties": {
+ "nextRunTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The next time at which a Job will be created under this schedule.",
+ "description": "This property is meaningful only if the schedule is in the active state when the time comes around. For example, if the schedule is disabled, no Job will be created at nextRunTime unless the Job is enabled before then."
+ },
+ "recentJob": {
+ "$ref": "#/definitions/RecentJob",
+ "title": "Information about the most recent Job under the Job Schedule.",
+ "description": "This property is present only if the at least one Job has run under the schedule."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the schedule ended.",
+ "description": "This property is set only if the Job Schedule is in the completed state."
+ }
+ },
+ "title": "Contains information about Jobs that have been and will be run under a Job Schedule."
+ },
+ "JobScheduleStatistics": {
+ "properties": {
+ "url": {
+ "type": "string",
+ "title": "The URL of the statistics."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The start time of the time range covered by the statistics."
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime."
+ },
+ "userCPUTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The total user mode CPU time (summed across all cores and all Compute Nodes) consumed by all Tasks in all Jobs created under the schedule."
+ },
+ "kernelCPUTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The total kernel mode CPU time (summed across all cores and all Compute Nodes) consumed by all Tasks in all Jobs created under the schedule."
+ },
+ "wallClockTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The total wall clock time of all the Tasks in all the Jobs created under the schedule.",
+ "description": "The wall clock time is the elapsed time from when the Task started running on a Compute Node to when it finished (or to the last time the statistics were updated, if the Task had not finished by then). If a Task was retried, this includes the wall clock time of all the Task retries."
+ },
+ "readIOps": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of disk read operations made by all Tasks in all Jobs created under the schedule."
+ },
+ "writeIOps": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of disk write operations made by all Tasks in all Jobs created under the schedule."
+ },
+ "readIOGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The total gibibytes read from disk by all Tasks in all Jobs created under the schedule."
+ },
+ "writeIOGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The total gibibytes written to disk by all Tasks in all Jobs created under the schedule."
+ },
+ "numSucceededTasks": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of Tasks successfully completed during the given time range in Jobs created under the schedule. A Task completes successfully if it returns exit code 0."
+ },
+ "numFailedTasks": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of Tasks that failed during the given time range in Jobs created under the schedule. A Task fails if it exhausts its maximum retry count without returning exit code 0."
+ },
+ "numTaskRetries": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of retries during the given time range on all Tasks in all Jobs created under the schedule."
+ },
+ "waitTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "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.)",
+ "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"
+ ],
+ "title": "Resource usage statistics for a Job Schedule."
+ },
+ "CloudJobSchedule": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the schedule within the Account."
+ },
+ "displayName": {
+ "type": "string",
+ "title": "The display name for the schedule."
+ },
+ "url": {
+ "type": "string",
+ "title": "The URL of the Job Schedule."
+ },
+ "eTag": {
+ "type": "string",
+ "title": "The ETag of the Job Schedule.",
+ "description": "This is an opaque string. You can use it to detect whether the Job Schedule has changed between requests. In particular, you can be pass the ETag with an Update Job Schedule request to specify that your changes should take effect only if nobody else has modified the schedule in the meantime."
+ },
+ "lastModified": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The last modified time of the Job Schedule.",
+ "description": "This is the last time at which the schedule level data, such as the Job specification or recurrence information, changed. It does not factor in job-level changes such as new Jobs being created or Jobs changing state."
+ },
+ "creationTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The creation time of the Job Schedule."
+ },
+ "state": {
+ "title": "The current state of the Job Schedule.",
+ "$ref": "#/definitions/JobScheduleState"
+ },
+ "stateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Job Schedule entered the current state."
+ },
+ "previousState": {
+ "title": "The previous state of the Job Schedule.",
+ "description": "This property is not present if the Job Schedule is in its initial active state.",
+ "$ref": "#/definitions/JobScheduleState"
+ },
+ "previousStateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Job Schedule entered its previous state.",
+ "description": "This property is not present if the Job Schedule is in its initial active state."
+ },
+ "schedule": {
+ "$ref": "#/definitions/Schedule",
+ "title": "The schedule according to which Jobs will be created."
+ },
+ "jobSpecification": {
+ "$ref": "#/definitions/JobSpecification",
+ "title": "The details of the Jobs to be created on this schedule."
+ },
+ "executionInfo": {
+ "$ref": "#/definitions/JobScheduleExecutionInformation",
+ "title": "Information about Jobs that have been and will be run under this schedule."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the schedule as metadata.",
+ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
+ },
+ "stats": {
+ "$ref": "#/definitions/JobScheduleStatistics",
+ "title": "The lifetime resource usage statistics for the Job Schedule. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes."
+ }
+ },
+ "title": "A Job Schedule that allows recurring Jobs by specifying when to run Jobs and a specification used to create each Job."
+ },
+ "JobScheduleAddParameter": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the schedule within the Account.",
+ "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case)."
+ },
+ "displayName": {
+ "type": "string",
+ "title": "The display name for the schedule.",
+ "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024."
+ },
+ "schedule": {
+ "$ref": "#/definitions/Schedule",
+ "title": "The schedule according to which Jobs will be created."
+ },
+ "jobSpecification": {
+ "$ref": "#/definitions/JobSpecification",
+ "title": "The details of the Jobs to be created on this schedule."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the schedule as metadata.",
+ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
+ }
+ },
+ "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": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudJobSchedule"
+ },
+ "title": "The list of Job Schedules."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of listing the Job Schedules in an Account."
+ },
+ "JobSchedulingError": {
+ "properties": {
+ "category": {
+ "title": "The category of the Job scheduling error.",
+ "$ref": "#/definitions/ErrorCategory"
+ },
+ "code": {
+ "type": "string",
+ "title": "An identifier for the Job scheduling error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "title": "A message describing the Job scheduling error, intended to be suitable for display in a user interface."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NameValuePair"
+ },
+ "title": "A list of additional error details related to the scheduling error."
+ }
+ },
+ "required": [
+ "category"
+ ],
+ "title": "An error encountered by the Batch service when scheduling a Job."
+ },
+ "JobExecutionInformation": {
+ "properties": {
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The start time of the Job.",
+ "description": "This is the time at which the Job was created."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The completion time of the Job.",
+ "description": "This property is set only if the Job is in the completed state."
+ },
+ "poolId": {
+ "type": "string",
+ "title": "The ID of the Pool to which this Job is assigned.",
+ "description": "This element contains the actual Pool where the Job is assigned. When you get Job details from the service, they also contain a poolInfo element, which contains the Pool configuration data from when the Job was added or updated. That poolInfo element may also contain a poolId element. If it does, the two IDs are the same. If it does not, it means the Job ran on an auto Pool, and this property contains the ID of that auto Pool."
+ },
+ "schedulingError": {
+ "$ref": "#/definitions/JobSchedulingError",
+ "title": "Details of any error encountered by the service in starting the Job.",
+ "description": "This property is not set if there was no error starting the Job."
+ },
+ "terminateReason": {
+ "type": "string",
+ "title": "A string describing the reason the Job ended.",
+ "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"
+ ],
+ "title": "Contains information about the execution of a Job in the Azure Batch service."
+ },
+ "CloudJob": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the Job within the Account.",
+ "description": "The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case)."
+ },
+ "displayName": {
+ "type": "string",
+ "title": "The display name for the Job."
+ },
+ "usesTaskDependencies": {
+ "type": "boolean",
+ "title": "Whether Tasks in the Job can define dependencies on each other. The default is false."
+ },
+ "url": {
+ "type": "string",
+ "title": "The URL of the Job."
+ },
+ "eTag": {
+ "type": "string",
+ "title": "The ETag of the Job.",
+ "description": "This is an opaque string. You can use it to detect whether the Job has changed between requests. In particular, you can be pass the ETag when updating a Job to specify that your changes should take effect only if nobody else has modified the Job in the meantime."
+ },
+ "lastModified": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The last modified time of the Job.",
+ "description": "This is the last time at which the Job level data, such as the Job state or priority, changed. It does not factor in task-level changes such as adding new Tasks or Tasks changing state."
+ },
+ "creationTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The creation time of the Job."
+ },
+ "state": {
+ "title": "The current state of the Job.",
+ "$ref": "#/definitions/JobState"
+ },
+ "stateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Job entered its current state."
+ },
+ "previousState": {
+ "title": "The previous state of the Job.",
+ "description": "This property is not set if the Job is in its initial Active state.",
+ "$ref": "#/definitions/JobState"
+ },
+ "previousStateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Job entered its previous state.",
+ "description": "This property is not set if the Job is in its initial Active state."
+ },
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The priority of the Job.",
+ "description": "Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0."
+ },
+ "constraints": {
+ "$ref": "#/definitions/JobConstraints",
+ "title": "The execution constraints for the Job."
+ },
+ "jobManagerTask": {
+ "$ref": "#/definitions/JobManagerTask",
+ "title": "Details of a Job Manager Task to be launched when the Job is started."
+ },
+ "jobPreparationTask": {
+ "$ref": "#/definitions/JobPreparationTask",
+ "title": "The Job Preparation Task.",
+ "description": "The Job Preparation Task is a special Task run on each Compute Node before any other Task of the Job."
+ },
+ "jobReleaseTask": {
+ "$ref": "#/definitions/JobReleaseTask",
+ "title": "The Job Release Task.",
+ "description": "The Job Release Task is a special Task run at the end of the Job on each Compute Node that has run any other Task of the Job."
+ },
+ "commonEnvironmentSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentSetting"
+ },
+ "title": "The list of common environment variable settings. These environment variables are set for all Tasks in the Job (including the Job Manager, Job Preparation and Job Release Tasks).",
+ "description": "Individual Tasks can override an environment setting specified here by specifying the same setting name with a different value."
+ },
+ "poolInfo": {
+ "$ref": "#/definitions/PoolInformation",
+ "title": "The Pool settings associated with the Job."
+ },
+ "onAllTasksComplete": {
+ "title": "The action the Batch service should take when all Tasks in the Job are in the completed state.",
+ "description": "The default is noaction.",
+ "$ref": "#/definitions/OnAllTasksComplete"
+ },
+ "onTaskFailure": {
+ "title": "The action the Batch service should take when any Task in the Job fails.",
+ "description": "A Task is considered to have failed if has a failureInfo. A failureInfo is set if the Task completes with a non-zero exit code after exhausting its retry count, or if there was an error starting the Task, for example due to a resource file download error. The default is noaction.",
+ "$ref": "#/definitions/OnTaskFailure"
+ },
+ "networkConfiguration": {
+ "$ref": "#/definitions/JobNetworkConfiguration",
+ "title": "The network configuration for the Job."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the Job as metadata.",
+ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
+ },
+ "executionInfo": {
+ "$ref": "#/definitions/JobExecutionInformation",
+ "title": "The execution information for the Job."
+ },
+ "stats": {
+ "$ref": "#/definitions/JobStatistics",
+ "title": "Resource usage statistics for the entire lifetime of the Job.",
+ "description": "This property is populated only if the CloudJob was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes."
+ }
+ },
+ "title": "An Azure Batch Job."
+ },
+ "JobAddParameter": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the Job within the Account.",
+ "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case)."
+ },
+ "displayName": {
+ "type": "string",
+ "title": "The display name for the Job.",
+ "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024."
+ },
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The priority of the Job.",
+ "description": "Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0."
+ },
+ "constraints": {
+ "$ref": "#/definitions/JobConstraints",
+ "description": "The execution constraints for the Job."
+ },
+ "jobManagerTask": {
+ "$ref": "#/definitions/JobManagerTask",
+ "title": "Details of a Job Manager Task to be launched when the Job is started.",
+ "description": "If the Job does not specify a Job Manager Task, the user must explicitly add Tasks to the Job. If the Job does specify a Job Manager Task, the Batch service creates the Job Manager Task when the Job is created, and will try to schedule the Job Manager Task before scheduling other Tasks in the Job. The Job Manager Task's typical purpose is to control and/or monitor Job execution, for example by deciding what additional Tasks to run, determining when the work is complete, etc. (However, a Job Manager Task is not restricted to these activities - it is a fully-fledged Task in the system and perform whatever actions are required for the Job.) For example, a Job Manager Task might download a file specified as a parameter, analyze the contents of that file and submit additional Tasks based on those contents."
+ },
+ "jobPreparationTask": {
+ "$ref": "#/definitions/JobPreparationTask",
+ "title": "The Job Preparation Task.",
+ "description": "If a Job has a Job Preparation Task, the Batch service will run the Job Preparation Task on a Node before starting any Tasks of that Job on that Compute Node."
+ },
+ "jobReleaseTask": {
+ "$ref": "#/definitions/JobReleaseTask",
+ "title": "The Job Release Task.",
+ "description": "A Job Release Task cannot be specified without also specifying a Job Preparation Task for the Job. The Batch service runs the Job Release Task on the Nodes that have run the Job Preparation Task. The primary purpose of the Job Release Task is to undo changes to Compute Nodes made by the Job Preparation Task. Example activities include deleting local files, or shutting down services that were started as part of Job preparation."
+ },
+ "commonEnvironmentSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentSetting"
+ },
+ "title": "The list of common environment variable settings. These environment variables are set for all Tasks in the Job (including the Job Manager, Job Preparation and Job Release Tasks).",
+ "description": "Individual Tasks can override an environment setting specified here by specifying the same setting name with a different value."
+ },
+ "poolInfo": {
+ "$ref": "#/definitions/PoolInformation",
+ "title": "The Pool on which the Batch service runs the Job's Tasks."
+ },
+ "onAllTasksComplete": {
+ "title": "The action the Batch service should take when all Tasks in the Job are in the completed state.",
+ "description": "Note that if a Job contains no Tasks, then all Tasks are considered complete. This option is therefore most commonly used with a Job Manager task; if you want to use automatic Job termination without a Job Manager, you should initially set onAllTasksComplete to noaction and update the Job properties to set onAllTasksComplete to terminatejob once you have finished adding Tasks. The default is noaction.",
+ "$ref": "#/definitions/OnAllTasksComplete"
+ },
+ "onTaskFailure": {
+ "title": "The action the Batch service should take when any Task in the Job fails.",
+ "description": "A Task is considered to have failed if has a failureInfo. A failureInfo is set if the Task completes with a non-zero exit code after exhausting its retry count, or if there was an error starting the Task, for example due to a resource file download error. The default is noaction.",
+ "$ref": "#/definitions/OnTaskFailure"
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the Job as metadata.",
+ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
+ },
+ "usesTaskDependencies": {
+ "type": "boolean",
+ "title": "Whether Tasks in the Job can define dependencies on each other. The default is false."
+ },
+ "networkConfiguration": {
+ "$ref": "#/definitions/JobNetworkConfiguration",
+ "title": "The network configuration for the Job."
+ }
+ },
+ "required": [
+ "id",
+ "poolInfo"
+ ],
+ "title": "An Azure Batch Job to add."
+ },
+ "CloudJobListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudJob"
+ },
+ "title": "The list of Jobs."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of listing the Jobs in an Account."
+ },
+ "TaskContainerExecutionInformation": {
+ "properties": {
+ "containerId": {
+ "type": "string",
+ "title": "The ID of the container."
+ },
+ "state": {
+ "type": "string",
+ "title": "The state of the container.",
+ "description": "This is the state of the container according to the Docker service. It is equivalent to the status field returned by \"docker inspect\"."
+ },
+ "error": {
+ "type": "string",
+ "title": "Detailed error information about the container.",
+ "description": "This is the detailed error string from the Docker service, if available. It is equivalent to the error field returned by \"docker inspect\"."
+ }
+ },
+ "title": "Contains information about the container which a Task is executing."
+ },
+ "TaskFailureInformation": {
+ "properties": {
+ "category": {
+ "title": "The category of the Task error.",
+ "$ref": "#/definitions/ErrorCategory"
+ },
+ "code": {
+ "type": "string",
+ "title": "An identifier for the Task error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "title": "A message describing the Task error, intended to be suitable for display in a user interface."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NameValuePair"
+ },
+ "title": "A list of additional details related to the error."
+ }
+ },
+ "required": [
+ "category"
+ ],
+ "title": "Information about a Task failure."
+ },
+ "JobPreparationTaskExecutionInformation": {
+ "properties": {
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Task started running.",
+ "description": "If the Task has been restarted or retried, this is the most recent time at which the Task started running."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Job Preparation Task completed.",
+ "description": "This property is set only if the Task is in the Completed state."
+ },
+ "state": {
+ "type": "string",
+ "title": "The current state of the Job Preparation Task on the Compute Node.",
+ "enum": [
+ "running",
+ "completed"
+ ],
+ "x-ms-enum": {
+ "name": "JobPreparationTaskState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "running",
+ "description": "The Task is currently running (including retrying)."
+ },
+ {
+ "value": "completed",
+ "description": "The Task has exited with exit code 0, or the Task has exhausted its retry limit, or the Batch service was unable to start the Task due to Task preparation errors (such as resource file download failures)."
+ }
+ ]
+ }
+ },
+ "taskRootDirectory": {
+ "type": "string",
+ "title": "The root directory of the Job Preparation Task on the Compute Node. You can use this path to retrieve files created by the Task, such as log files."
+ },
+ "taskRootDirectoryUrl": {
+ "type": "string",
+ "title": "The URL to the root directory of the Job Preparation Task on the Compute Node."
+ },
+ "exitCode": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The exit code of the program specified on the Task command line.",
+ "description": "This parameter is returned only if the Task is in the completed state. The exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. Note that the exit code may also be generated by the Compute Node operating system, such as when a process is forcibly terminated."
+ },
+ "containerInfo": {
+ "$ref": "#/definitions/TaskContainerExecutionInformation",
+ "title": "Information about the container under which the Task is executing.",
+ "description": "This property is set only if the Task runs in a container context."
+ },
+ "failureInfo": {
+ "$ref": "#/definitions/TaskFailureInformation",
+ "title": "Information describing the Task failure, if any.",
+ "description": "This property is set only if the Task is in the completed state and encountered a failure."
+ },
+ "retryCount": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of times the Task has been retried by the Batch service. Task application failures (non-zero exit code) are retried, pre-processing errors (the Task could not be run) and file upload errors are not retried. The Batch service will retry the Task up to the limit specified by the constraints.",
+ "description": "Task application failures (non-zero exit code) are retried, pre-processing errors (the Task could not be run) and file upload errors are not retried. The Batch service will retry the Task up to the limit specified by the constraints."
+ },
+ "lastRetryTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The most recent time at which a retry of the Job Preparation Task started running.",
+ "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."
+ },
+ "result": {
+ "$ref": "#/definitions/TaskExecutionResult",
+ "title": "The result of the Task execution.",
+ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
+ }
+ },
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
+ "title": "Contains information about the execution of a Job Preparation Task on a Compute Node."
+ },
+ "JobReleaseTaskExecutionInformation": {
+ "properties": {
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Task started running.",
+ "description": "If the Task has been restarted or retried, this is the most recent time at which the Task started running."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Job Release Task completed.",
+ "description": "This property is set only if the Task is in the Completed state."
+ },
+ "state": {
+ "type": "string",
+ "title": "The current state of the Job Release Task on the Compute Node.",
+ "enum": [
+ "running",
+ "completed"
+ ],
+ "x-ms-enum": {
+ "name": "JobReleaseTaskState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "running",
+ "description": "The Task is currently running (including retrying)."
+ },
+ {
+ "value": "completed",
+ "description": "The Task has exited with exit code 0, or the Task has exhausted its retry limit, or the Batch service was unable to start the Task due to Task preparation errors (such as resource file download failures)."
+ }
+ ]
+ }
+ },
+ "taskRootDirectory": {
+ "type": "string",
+ "title": "The root directory of the Job Release Task on the Compute Node. You can use this path to retrieve files created by the Task, such as log files."
+ },
+ "taskRootDirectoryUrl": {
+ "type": "string",
+ "title": "The URL to the root directory of the Job Release Task on the Compute Node."
+ },
+ "exitCode": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The exit code of the program specified on the Task command line.",
+ "description": "This parameter is returned only if the Task is in the completed state. The exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. Note that the exit code may also be generated by the Compute Node operating system, such as when a process is forcibly terminated."
+ },
+ "containerInfo": {
+ "$ref": "#/definitions/TaskContainerExecutionInformation",
+ "title": "Information about the container under which the Task is executing.",
+ "description": "This property is set only if the Task runs in a container context."
+ },
+ "failureInfo": {
+ "$ref": "#/definitions/TaskFailureInformation",
+ "title": "Information describing the Task failure, if any.",
+ "description": "This property is set only if the Task is in the completed state and encountered a failure."
+ },
+ "result": {
+ "$ref": "#/definitions/TaskExecutionResult",
+ "title": "The result of the Task execution.",
+ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
+ }
+ },
+ "required": [
+ "startTime",
+ "state"
+ ],
+ "title": "Contains information about the execution of a Job Release Task on a Compute Node."
+ },
+ "JobPreparationAndReleaseTaskExecutionInformation": {
+ "properties": {
+ "poolId": {
+ "type": "string",
+ "title": "The ID of the Pool containing the Compute Node to which this entry refers."
+ },
+ "nodeId": {
+ "type": "string",
+ "title": "The ID of the Compute Node to which this entry refers."
+ },
+ "nodeUrl": {
+ "type": "string",
+ "title": "The URL of the Compute Node to which this entry refers."
+ },
+ "jobPreparationTaskExecutionInfo": {
+ "$ref": "#/definitions/JobPreparationTaskExecutionInformation",
+ "title": "Information about the execution status of the Job Preparation Task on this Compute Node."
+ },
+ "jobReleaseTaskExecutionInfo": {
+ "$ref": "#/definitions/JobReleaseTaskExecutionInformation",
+ "title": "Information about the execution status of the Job Release Task on this Compute Node.",
+ "description": "This property is set only if the Job Release Task has run on the Compute Node."
+ }
+ },
+ "title": "The status of the Job Preparation and Job Release Tasks on a Compute Node."
+ },
+ "CloudJobListPreparationAndReleaseTaskStatusResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/JobPreparationAndReleaseTaskExecutionInformation"
+ },
+ "title": "A list of Job Preparation and Job Release Task execution information."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of listing the status of the Job Preparation and Job Release Tasks for a Job."
+ },
+ "TaskCounts": {
+ "properties": {
+ "active": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Tasks in the active state."
+ },
+ "running": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Tasks in the running or preparing state."
+ },
+ "completed": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Tasks in the completed state."
+ },
+ "succeeded": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Tasks which succeeded. A Task succeeds if its result (found in the executionInfo property) is 'success'."
+ },
+ "failed": {
+ "type": "integer",
+ "format": "int32",
+ "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"
+ ],
+ "title": "The Task counts for a Job."
+ },
+ "AutoScaleRunError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "title": "An identifier for the autoscale error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "title": "A message describing the autoscale error, intended to be suitable for display in a user interface."
+ },
+ "values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NameValuePair"
+ },
+ "title": "A list of additional error details related to the autoscale error."
+ }
+ },
+ "title": "An error that occurred when executing or evaluating a Pool autoscale formula."
+ },
+ "AutoScaleRun": {
+ "properties": {
+ "timestamp": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the autoscale formula was last evaluated."
+ },
+ "results": {
+ "type": "string",
+ "title": "The final values of all variables used in the evaluation of the autoscale formula.",
+ "description": "Each variable value is returned in the form $variable=value, and variables are separated by semicolons."
+ },
+ "error": {
+ "$ref": "#/definitions/AutoScaleRunError",
+ "title": "Details of the error encountered evaluating the autoscale formula on the Pool, if the evaluation was unsuccessful."
+ }
+ },
+ "required": [
+ "timestamp"
+ ],
+ "title": "The results and errors from an execution of a Pool autoscale formula."
+ },
+ "ResizeError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "title": "An identifier for the Pool resize error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "title": "A message describing the Pool resize error, intended to be suitable for display in a user interface."
+ },
+ "values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NameValuePair"
+ },
+ "title": "A list of additional error details related to the Pool resize error."
+ }
+ },
+ "title": "An error that occurred when resizing a Pool."
+ },
+ "CloudServiceConfiguration": {
+ "properties": {
+ "osFamily": {
+ "type": "string",
+ "title": "The Azure Guest OS family to be installed on the virtual machines in the Pool.",
+ "description": "Possible values are:\n2 - OS Family 2, equivalent to Windows Server 2008 R2 SP1.\n3 - OS Family 3, equivalent to Windows Server 2012.\n4 - OS Family 4, equivalent to Windows Server 2012 R2.\n5 - OS Family 5, equivalent to Windows Server 2016.\n6 - OS Family 6, equivalent to Windows Server 2019. For more information, see Azure Guest OS Releases (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases)."
+ },
+ "osVersion": {
+ "type": "string",
+ "title": "The Azure Guest OS version to be installed on the virtual machines in the Pool.",
+ "description": "The default value is * which specifies the latest operating system version for the specified OS family."
+ }
+ },
+ "required": [
+ "osFamily"
+ ],
+ "title": "The configuration for Compute Nodes in a Pool based on the Azure Cloud Services platform."
+ },
+ "ImageReference": {
+ "properties": {
+ "publisher": {
+ "type": "string",
+ "title": "The publisher of the Azure Virtual Machines Marketplace Image.",
+ "description": "For example, Canonical or MicrosoftWindowsServer."
+ },
+ "offer": {
+ "type": "string",
+ "title": "The offer type of the Azure Virtual Machines Marketplace Image.",
+ "description": "For example, UbuntuServer or WindowsServer."
+ },
+ "sku": {
+ "type": "string",
+ "title": "The SKU of the Azure Virtual Machines Marketplace Image.",
+ "description": "For example, 18.04-LTS or 2019-Datacenter."
+ },
+ "version": {
+ "type": "string",
+ "title": "The version of the Azure Virtual Machines Marketplace Image.",
+ "description": "A value of 'latest' can be specified to select the latest version of an Image. If omitted, the default is 'latest'."
+ },
+ "virtualMachineImageId": {
+ "type": "string",
+ "title": "The ARM resource identifier of the Virtual Machine Image or Shared Image Gallery Image. Computes Compute Nodes of the Pool will be created using this Image Id. This is of either the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName} for Virtual Machine Image or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionId} for SIG image.",
+ "description": "This property is mutually exclusive with other ImageReference properties. For Virtual Machine Image it must be in the same region and subscription as the Azure Batch account. For SIG image it must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch Compute Node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration."
+ }
+ },
+ "title": "A reference to an Azure Virtual Machines Marketplace Image or a custom Azure Virtual Machine Image. To get the list of all Azure Marketplace Image references verified by Azure Batch, see the 'List supported Images' operation."
+ },
+ "WindowsConfiguration": {
+ "properties": {
+ "enableAutomaticUpdates": {
+ "type": "boolean",
+ "title": "Whether automatic updates are enabled on the virtual machine.",
+ "description": "If omitted, the default value is true."
+ }
+ },
+ "title": "Windows operating system settings to apply to the virtual machine."
+ },
+ "DataDisk": {
+ "properties": {
+ "lun": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The logical unit number.",
+ "description": "The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun."
+ },
+ "caching": {
+ "$ref": "#/definitions/CachingType",
+ "title": "The type of caching to be enabled for the data disks.",
+ "description": "The default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/."
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The initial disk size in gigabytes."
+ },
+ "storageAccountType": {
+ "title": "The storage Account type to be used for the data disk.",
+ "description": "If omitted, the default is \"standard_lrs\".",
+ "$ref": "#/definitions/StorageAccountType"
+ }
+ },
+ "required": [
+ "lun",
+ "diskSizeGB"
+ ],
+ "title": "Settings which will be used by the data disks associated to Compute Nodes in the Pool. When using attached data disks, you need to mount and format the disks from within a VM to use them."
+ },
+ "StorageAccountType": {
+ "type": "string",
+ "title": "The storage Account type for use in creating data disks.",
+ "enum": [
+ "standard_lrs",
+ "premium_lrs"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "standard_lrs",
+ "description": "The data disk should use standard locally redundant storage.",
+ "name": "StandardLRS"
+ },
+ {
+ "value": "premium_lrs",
+ "description": "The data disk should use premium locally redundant storage.",
+ "name": "PremiumLRS"
+ }
+ ]
+ }
+ },
+ "CachingType": {
+ "type": "string",
+ "title": "The type of caching to enable for the disk.",
+ "description": "The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.",
+ "enum": [
+ "none",
+ "readonly",
+ "readwrite"
+ ],
+ "x-ms-enum": {
+ "name": "CachingType",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "none",
+ "description": "The caching mode for the disk is not enabled."
+ },
+ {
+ "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.",
+ "name": "readWrite"
+ }
+ ]
+ }
+ },
+ "VirtualMachineConfiguration": {
+ "properties": {
+ "imageReference": {
+ "$ref": "#/definitions/ImageReference",
+ "title": "A reference to the Azure Virtual Machines Marketplace Image or the custom Virtual Machine Image to use."
+ },
+ "nodeAgentSKUId": {
+ "type": "string",
+ "title": "The SKU of the Batch Compute Node agent to be provisioned on Compute Nodes in the Pool.",
+ "description": "The Batch Compute Node agent is a program that runs on each Compute Node in the Pool, and provides the command-and-control interface between the Compute Node and the Batch service. There are different implementations of the Compute Node agent, known as SKUs, for different operating systems. You must specify a Compute Node agent SKU which matches the selected Image reference. To get the list of supported Compute Node agent SKUs along with their list of verified Image references, see the 'List supported Compute Node agent SKUs' operation."
+ },
+ "windowsConfiguration": {
+ "$ref": "#/definitions/WindowsConfiguration",
+ "title": "Windows operating system settings on the virtual machine.",
+ "description": "This property must not be specified if the imageReference property specifies a Linux OS Image."
+ },
+ "dataDisks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataDisk"
+ },
+ "title": "The configuration for data disks attached to the Compute Nodes in the Pool.",
+ "description": "This property must be specified if the Compute Nodes in the Pool need to have empty data disks attached to them. This cannot be updated. Each Compute Node gets its own disk (the disk is not a file share). Existing disks cannot be attached, each attached disk is empty. When the Compute Node is removed from the Pool, the disk and all data associated with it is also deleted. The disk is not formatted after being attached, it must be formatted before use - for more information see https://docs.microsoft.com/en-us/azure/virtual-machines/linux/classic/attach-disk#initialize-a-new-data-disk-in-linux and https://docs.microsoft.com/en-us/azure/virtual-machines/windows/attach-disk-ps#add-an-empty-data-disk-to-a-virtual-machine."
+ },
+ "licenseType": {
+ "type": "string",
+ "title": "The type of on-premises license to be used when deploying the operating system.",
+ "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 Compute 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"
+ },
+ "containerConfiguration": {
+ "$ref": "#/definitions/ContainerConfiguration",
+ "title": "The container configuration for the Pool.",
+ "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"
+ ],
+ "title": "The configuration for Compute Nodes in a Pool based on the Azure Virtual Machines infrastructure."
+ },
+ "ContainerRegistry": {
+ "properties": {
+ "registryServer": {
+ "type": "string",
+ "title": "The registry URL.",
+ "description": "If omitted, the default is \"docker.io\"."
+ },
+ "username": {
+ "type": "string",
+ "x-ms-client-name": "userName",
+ "title": "The user name to log into the registry server."
+ },
+ "password": {
+ "type": "string",
+ "title": "The password to log into the registry server."
+ }
+ },
+ "required": [
+ "username",
+ "password"
+ ],
+ "title": "A private container registry."
+ },
+ "ContainerConfiguration": {
+ "properties": {
+ "type": {
+ "type": "string",
+ "title": "The container technology to be used.",
+ "enum": [
+ "dockerCompatible"
+ ],
+ "x-ms-enum": {
+ "name": "ContainerType",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "dockerCompatible",
+ "description": "A Docker compatible container technology will be used to launch the containers."
+ }
+ ]
+ }
+ },
+ "containerImageNames": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "title": "The collection of container Image names.",
+ "description": "This is the full Image reference, as would be specified to \"docker pull\". An Image will be sourced from the default Docker registry unless the Image is fully qualified with an alternative registry."
+ },
+ "containerRegistries": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContainerRegistry"
+ },
+ "title": "Additional private registries from which containers can be pulled.",
+ "description": "If any Images must be downloaded from a private registry which requires credentials, then those credentials must be provided here."
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "The configuration for container-enabled Pools."
+ },
+ "NetworkConfiguration": {
+ "properties": {
+ "subnetId": {
+ "type": "string",
+ "title": "The ARM resource identifier of the virtual network subnet which the Compute Nodes of the Pool will join. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}.",
+ "description": "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 Compute Nodes in the Pool. If the subnet doesn't have enough free IP addresses, the Pool will partially allocate Nodes, and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. For Pools created with virtualMachineConfiguration only ARM virtual networks ('Microsoft.Network/virtualNetworks') are supported, but for Pools created with cloudServiceConfiguration both ARM and classic virtual networks are supported. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. For Pools created with a virtual machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. For Pools created with a cloud service configuration, enable ports 10100, 20100, and 30100. Also enable outbound connections to Azure Storage on port 443. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration",
+ "externalDocs": {
+ "url": "https://azure.microsoft.com/en-us/documentation/articles/role-based-access-built-in-roles/#classic-virtual-machine-contributor",
+ "description": "Setting up RBAC for Azure Batch VNETs"
+ }
+ },
+ "dynamicVNetAssignmentScope": {
+ "type": "string",
+ "title": "The scope of dynamic vnet assignment.",
+ "enum": [
+ "none",
+ "job"
+ ],
+ "x-ms-enum": {
+ "name": "DynamicVNetAssignmentScope",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "none",
+ "description": "No dynamic VNet assignment is enabled."
+ },
+ {
+ "value": "job",
+ "description": "Dynamic VNet assignment is done per-job."
+ }
+ ]
+ }
+ },
+ "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."
+ },
+ "publicIPs": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "title": "The list of public IPs which the Batch service will use when provisioning Compute Nodes.",
+ "description": "The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. This is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}."
+ }
+ },
+ "description": "The network configuration for a Pool."
+ },
+ "CloudPool": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the Pool within the Account.",
+ "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case)."
+ },
+ "displayName": {
+ "type": "string",
+ "title": "The display name for the Pool.",
+ "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024."
+ },
+ "url": {
+ "type": "string",
+ "title": "The URL of the Pool."
+ },
+ "eTag": {
+ "type": "string",
+ "title": "The ETag of the Pool.",
+ "description": "This is an opaque string. You can use it to detect whether the Pool has changed between requests. In particular, you can be pass the ETag when updating a Pool to specify that your changes should take effect only if nobody else has modified the Pool in the meantime."
+ },
+ "lastModified": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The last modified time of the Pool.",
+ "description": "This is the last time at which the Pool level data, such as the targetDedicatedNodes or enableAutoscale settings, changed. It does not factor in node-level changes such as a Compute Node changing state."
+ },
+ "creationTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The creation time of the Pool."
+ },
+ "state": {
+ "type": "string",
+ "title": "The current state of the Pool.",
+ "enum": [
+ "active",
+ "deleting"
+ ],
+ "x-ms-enum": {
+ "name": "PoolState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "active",
+ "description": "The Pool is available to run Tasks subject to the availability of Compute Nodes."
+ },
+ {
+ "value": "deleting",
+ "description": "The user has requested that the Pool be deleted, but the delete operation has not yet completed."
+ }
+ ]
+ }
+ },
+ "stateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Pool entered its current state."
+ },
+ "allocationState": {
+ "type": "string",
+ "title": "Whether the Pool is resizing.",
+ "enum": [
+ "steady",
+ "resizing",
+ "stopping"
+ ],
+ "x-ms-enum": {
+ "name": "AllocationState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "steady",
+ "description": "The Pool is not resizing. There are no changes to the number of Compute Nodes in the Pool in progress. A Pool enters this state when it is created and when no operations are being performed on the Pool to change the number of Compute Nodes."
+ },
+ {
+ "value": "resizing",
+ "description": "The Pool is resizing; that is, Compute Nodes are being added to or removed from the Pool."
+ },
+ {
+ "value": "stopping",
+ "description": "The Pool was resizing, but the user has requested that the resize be stopped, but the stop request has not yet been completed."
+ }
+ ]
+ }
+ },
+ "allocationStateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Pool entered its current allocation state."
+ },
+ "vmSize": {
+ "type": "string",
+ "title": "The size of virtual machines in the Pool. All virtual machines in a Pool are the same size.",
+ "description": "For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes)."
+ },
+ "cloudServiceConfiguration": {
+ "$ref": "#/definitions/CloudServiceConfiguration",
+ "title": "The cloud service configuration for the Pool.",
+ "description": "This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. This property cannot be specified if the Batch Account was created with its poolAllocationMode property set to 'UserSubscription'."
+ },
+ "virtualMachineConfiguration": {
+ "$ref": "#/definitions/VirtualMachineConfiguration",
+ "title": "The virtual machine configuration for the Pool.",
+ "description": "This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified."
+ },
+ "resizeTimeout": {
+ "type": "string",
+ "format": "duration",
+ "title": "The timeout for allocation of Compute Nodes to the Pool.",
+ "description": "This is the timeout for the most recent resize operation. (The initial sizing when the Pool is created counts as a resize.) The default value is 15 minutes."
+ },
+ "resizeErrors": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResizeError"
+ },
+ "title": "A list of errors encountered while performing the last resize on the Pool.",
+ "description": "This property is set only if one or more errors occurred during the last Pool resize, and only when the Pool allocationState is Steady."
+ },
+ "currentDedicatedNodes": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of dedicated Compute Nodes currently in the Pool."
+ },
+ "currentLowPriorityNodes": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of low-priority Compute Nodes currently in the Pool.",
+ "description": "Low-priority Compute Nodes which have been preempted are included in this count."
+ },
+ "targetDedicatedNodes": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The desired number of dedicated Compute Nodes in the Pool."
+ },
+ "targetLowPriorityNodes": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The desired number of low-priority Compute Nodes in the Pool."
+ },
+ "enableAutoScale": {
+ "type": "boolean",
+ "title": "Whether the Pool size should automatically adjust over time.",
+ "description": "If false, at least one of targetDedicateNodes and targetLowPriorityNodes must be specified. If true, the autoScaleFormula property is required and the Pool automatically resizes according to the formula. The default value is false."
+ },
+ "autoScaleFormula": {
+ "type": "string",
+ "title": "A formula for the desired number of Compute Nodes in the Pool.",
+ "description": "This property is set only if the Pool automatically scales, i.e. enableAutoScale is true."
+ },
+ "autoScaleEvaluationInterval": {
+ "type": "string",
+ "format": "duration",
+ "title": "The time interval at which to automatically adjust the Pool size according to the autoscale formula.",
+ "description": "This property is set only if the Pool automatically scales, i.e. enableAutoScale is true."
+ },
+ "autoScaleRun": {
+ "$ref": "#/definitions/AutoScaleRun",
+ "title": "The results and errors from the last execution of the autoscale formula.",
+ "description": "This property is set only if the Pool automatically scales, i.e. enableAutoScale is true."
+ },
+ "enableInterNodeCommunication": {
+ "type": "boolean",
+ "title": "Whether the Pool permits direct communication between Compute Nodes.",
+ "description": "This imposes restrictions on which Compute Nodes can be assigned to the Pool. Specifying this value can reduce the chance of the requested number of Compute Nodes to be allocated in the Pool."
+ },
+ "networkConfiguration": {
+ "$ref": "#/definitions/NetworkConfiguration",
+ "title": "The network configuration for the Pool."
+ },
+ "startTask": {
+ "$ref": "#/definitions/StartTask",
+ "title": "A Task specified to run on each Compute Node as it joins the Pool."
+ },
+ "certificateReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CertificateReference"
+ },
+ "title": "The list of Certificates to be installed on each Compute Node in the Pool.",
+ "description": "For Windows 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/{user-name}/certs) and Certificates are placed in that directory."
+ },
+ "applicationPackageReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationPackageReference"
+ },
+ "title": "The list of Packages to be installed on each Compute Node in the Pool.",
+ "description": "Changes to Package references affect all new 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 Package references on any given Pool."
+ },
+ "applicationLicenses": {
+ "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."
+ },
+ "maxTasksPerNode": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The maximum number of Tasks that can run concurrently on a single Compute Node in the Pool.",
+ "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the Pool or 256."
+ },
+ "taskSchedulingPolicy": {
+ "$ref": "#/definitions/TaskSchedulingPolicy",
+ "title": "How Tasks are distributed across Compute Nodes in a Pool.",
+ "description": "If not specified, the default is spread."
+ },
+ "userAccounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UserAccount"
+ },
+ "title": "The list of user Accounts to be created on each Compute Node in the Pool."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the Pool as metadata."
+ },
+ "stats": {
+ "$ref": "#/definitions/PoolStatistics",
+ "title": "Utilization and resource usage statistics for the entire lifetime of the Pool.",
+ "description": "This property is populated only if the CloudPool was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes."
+ },
+ "mountConfiguration": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MountConfiguration"
+ },
+ "title": "A list of file systems to mount on each node in the pool.",
+ "description": "This supports Azure Files, NFS, CIFS/SMB, and Blobfuse."
+ }
+ },
+ "title": "A Pool in the Azure Batch service."
+ },
+ "PoolAddParameter": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the Pool within the Account.",
+ "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two Pool IDs within an Account that differ only by case)."
+ },
+ "displayName": {
+ "type": "string",
+ "title": "The display name for the Pool.",
+ "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024."
+ },
+ "vmSize": {
+ "type": "string",
+ "title": "The size of virtual machines in the Pool. All virtual machines in a Pool are the same size.",
+ "description": "For information about available sizes of virtual machines for Cloud Services Pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. For information about available VM sizes for Pools using Images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)."
+ },
+ "cloudServiceConfiguration": {
+ "$ref": "#/definitions/CloudServiceConfiguration",
+ "title": "The cloud service configuration for the Pool.",
+ "description": "This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. This property cannot be specified if the Batch Account was created with its poolAllocationMode property set to 'UserSubscription'."
+ },
+ "virtualMachineConfiguration": {
+ "$ref": "#/definitions/VirtualMachineConfiguration",
+ "title": "The virtual machine configuration for the Pool.",
+ "description": "This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified."
+ },
+ "resizeTimeout": {
+ "type": "string",
+ "format": "duration",
+ "title": "The timeout for allocation of Compute Nodes to the Pool.",
+ "description": "This timeout applies only to manual scaling; it has no effect when enableAutoScale is set to true. The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
+ },
+ "targetDedicatedNodes": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The desired number of dedicated Compute Nodes in the Pool.",
+ "description": "This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both."
+ },
+ "targetLowPriorityNodes": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The desired number of low-priority Compute Nodes in the Pool.",
+ "description": "This property must not be specified if enableAutoScale is set to true. If enableAutoScale is set to false, then you must set either targetDedicatedNodes, targetLowPriorityNodes, or both."
+ },
+ "enableAutoScale": {
+ "type": "boolean",
+ "title": "Whether the Pool size should automatically adjust over time.",
+ "description": "If false, at least one of targetDedicateNodes and targetLowPriorityNodes must be specified. If true, the autoScaleFormula property is required and the Pool automatically resizes according to the formula. The default value is false."
+ },
+ "autoScaleFormula": {
+ "type": "string",
+ "title": "A formula for the desired number of Compute Nodes in the Pool.",
+ "description": "This property must not be specified if enableAutoScale is set to false. It is required if enableAutoScale is set to true. The formula is checked for validity before the Pool is created. If the formula is not valid, the Batch service rejects the request with detailed error information. For more information about specifying this formula, see 'Automatically scale Compute Nodes in an Azure Batch Pool' (https://azure.microsoft.com/documentation/articles/batch-automatic-scaling/)."
+ },
+ "autoScaleEvaluationInterval": {
+ "type": "string",
+ "format": "duration",
+ "title": "The time interval at which to automatically adjust the Pool size according to the autoscale formula.",
+ "description": "The default value is 15 minutes. The minimum and maximum value are 5 minutes and 168 hours respectively. If you specify a value less than 5 minutes or greater than 168 hours, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
+ },
+ "enableInterNodeCommunication": {
+ "type": "boolean",
+ "title": "Whether the Pool permits direct communication between Compute Nodes.",
+ "description": "Enabling inter-node communication limits the maximum size of the Pool due to deployment restrictions on the Compute Nodes of the Pool. This may result in the Pool not reaching its desired size. The default value is false."
+ },
+ "networkConfiguration": {
+ "$ref": "#/definitions/NetworkConfiguration",
+ "title": "The network configuration for the Pool."
+ },
+ "startTask": {
+ "$ref": "#/definitions/StartTask",
+ "title": "A Task specified to run on each Compute Node as it joins the Pool.",
+ "description": "The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted."
+ },
+ "certificateReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CertificateReference"
+ },
+ "title": "The list of Certificates to be installed on each Compute Node in the Pool.",
+ "description": "For Windows 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/{user-name}/certs) and Certificates are placed in that directory."
+ },
+ "applicationPackageReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationPackageReference"
+ },
+ "title": "The list of Packages to be installed on each Compute Node in the Pool.",
+ "description": "Changes to Package references affect all new 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 Package references on any given Pool."
+ },
+ "applicationLicenses": {
+ "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."
+ },
+ "maxTasksPerNode": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The maximum number of Tasks that can run concurrently on a single Compute Node in the Pool.",
+ "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the Pool or 256."
+ },
+ "taskSchedulingPolicy": {
+ "$ref": "#/definitions/TaskSchedulingPolicy",
+ "title": "How Tasks are distributed across Compute Nodes in a Pool.",
+ "description": "If not specified, the default is spread."
+ },
+ "userAccounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UserAccount"
+ },
+ "title": "The list of user Accounts to be created on each Compute Node in the Pool."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the Pool as metadata.",
+ "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
+ },
+ "mountConfiguration": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MountConfiguration"
+ },
+ "title": "Mount storage using specified file system for the entire lifetime of the pool.",
+ "description": "Mount the storage using Azure fileshare, NFS, CIFS or Blobfuse based file system."
+ }
+ },
+ "required": [
+ "id",
+ "vmSize"
+ ],
+ "title": "A Pool in the Azure Batch service to add."
+ },
+ "ApplicationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationSummary"
+ },
+ "title": "The list of applications available in the Account."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of listing the applications available in an Account."
+ },
+ "CloudPoolListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudPool"
+ },
+ "title": "The list of Pools."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of listing the Pools in an Account."
+ },
+ "AffinityInformation": {
+ "properties": {
+ "affinityId": {
+ "type": "string",
+ "title": "An opaque string representing the location of a Compute Node or a Task that has run previously.",
+ "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"
+ ],
+ "title": "A locality hint that can be used by the Batch service to select a Compute Node on which to start a Task."
+ },
+ "TaskExecutionInformation": {
+ "properties": {
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Task started running.",
+ "description": "'Running' corresponds to the running state, so if the Task specifies resource files or Packages, then the start time reflects the time at which the Task started downloading or deploying these. If the Task has been restarted or retried, this is the most recent time at which the Task started running. This property is present only for Tasks that are in the running or completed state."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Task completed.",
+ "description": "This property is set only if the Task is in the Completed state."
+ },
+ "exitCode": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The exit code of the program specified on the Task command line.",
+ "description": "This property is set only if the Task is in the completed state. In general, the exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. However, if the Batch service terminates the Task (due to timeout, or user termination via the API) you may see an operating system-defined exit code."
+ },
+ "containerInfo": {
+ "$ref": "#/definitions/TaskContainerExecutionInformation",
+ "title": "Information about the container under which the Task is executing.",
+ "description": "This property is set only if the Task runs in a container context."
+ },
+ "failureInfo": {
+ "$ref": "#/definitions/TaskFailureInformation",
+ "title": "Information describing the Task failure, if any.",
+ "description": "This property is set only if the Task is in the completed state and encountered a failure."
+ },
+ "retryCount": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of times the Task has been retried by the Batch service.",
+ "description": "Task application failures (non-zero exit code) are retried, pre-processing errors (the Task could not be run) and file upload errors are not retried. The Batch service will retry the Task up to the limit specified by the constraints."
+ },
+ "lastRetryTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The most recent time at which a retry of the Task started running.",
+ "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."
+ },
+ "requeueCount": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of times the Task has been requeued by the Batch service as the result of a user request.",
+ "description": "When the user removes Compute Nodes from a Pool (by resizing/shrinking the pool) or when the Job is being disabled, the user can specify that running Tasks on the Compute Nodes be requeued for execution. This count tracks how many times the Task has been requeued for these reasons."
+ },
+ "lastRequeueTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The most recent time at which the Task has been requeued by the Batch service as the result of a user request.",
+ "description": "This property is set only if the requeueCount is nonzero."
+ },
+ "result": {
+ "$ref": "#/definitions/TaskExecutionResult",
+ "title": "The result of the Task execution.",
+ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
+ }
+ },
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
+ "title": "Information about the execution of a Task."
+ },
+ "ComputeNodeInformation": {
+ "properties": {
+ "affinityId": {
+ "type": "string",
+ "title": "An identifier for the Node on which the Task ran, which can be passed when adding a Task to request that the Task be scheduled on this Compute Node."
+ },
+ "nodeUrl": {
+ "type": "string",
+ "title": "The URL of the Compute Node on which the Task ran. "
+ },
+ "poolId": {
+ "type": "string",
+ "title": "The ID of the Pool on which the Task ran."
+ },
+ "nodeId": {
+ "type": "string",
+ "title": "The ID of the Compute Node on which the Task ran."
+ },
+ "taskRootDirectory": {
+ "type": "string",
+ "title": "The root directory of the Task on the Compute Node."
+ },
+ "taskRootDirectoryUrl": {
+ "type": "string",
+ "title": "The URL to the root directory of the Task on the Compute Node."
+ }
+ },
+ "title": "Information about the Compute Node on which a Task ran."
+ },
+ "NodeAgentInformation": {
+ "properties": {
+ "version": {
+ "type": "string",
+ "title": "The version of the Batch Compute Node agent running on the Compute Node.",
+ "description": "This version number can be checked against the Compute Node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md."
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time when the Compute Node agent was updated on the Compute Node.",
+ "description": "This is the most recent time that the Compute Node agent was updated to a new version."
+ }
+ },
+ "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."
+ },
+ "MultiInstanceSettings": {
+ "properties": {
+ "numberOfInstances": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes required by the Task.",
+ "description": "If omitted, the default is 1."
+ },
+ "coordinationCommandLine": {
+ "type": "string",
+ "title": "The command line to run on all the Compute Nodes to enable them to coordinate when the primary runs the main Task command.",
+ "description": "A typical coordination command line launches a background service and verifies that the service is ready to process inter-node messages."
+ },
+ "commonResourceFiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceFile"
+ },
+ "title": "A list of files that the Batch service will download before running the coordination command line.",
+ "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"
+ ],
+ "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."
+ },
+ "TaskStatistics": {
+ "properties": {
+ "url": {
+ "type": "string",
+ "title": "The URL of the statistics."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The start time of the time range covered by the statistics."
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime."
+ },
+ "userCPUTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The total user mode CPU time (summed across all cores and all Compute Nodes) consumed by the Task."
+ },
+ "kernelCPUTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The total kernel mode CPU time (summed across all cores and all Compute Nodes) consumed by the Task."
+ },
+ "wallClockTime": {
+ "type": "string",
+ "format": "duration",
+ "title": "The total wall clock time of the Task.",
+ "description": "The wall clock time is the elapsed time from when the Task started running on a Compute Node to when it finished (or to the last time the statistics were updated, if the Task had not finished by then). If the Task was retried, this includes the wall clock time of all the Task retries."
+ },
+ "readIOps": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of disk read operations made by the Task."
+ },
+ "writeIOps": {
+ "type": "integer",
+ "format": "int64",
+ "title": "The total number of disk write operations made by the Task."
+ },
+ "readIOGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The total gibibytes read from disk by the Task."
+ },
+ "writeIOGiB": {
+ "type": "number",
+ "format": "double",
+ "title": "The total gibibytes written to disk by the Task."
+ },
+ "waitTime": {
+ "type": "string",
+ "format": "duration",
+ "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"
+ ],
+ "title": "Resource usage statistics for a Task."
+ },
+ "TaskDependencies": {
+ "properties": {
+ "taskIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "title": "The list of Task IDs that this Task depends on. All Tasks in this list must complete successfully before the dependent Task can be scheduled.",
+ "description": "The taskIds collection is limited to 64000 characters total (i.e. the combined length of all Task IDs). If the taskIds collection exceeds the maximum length, the Add Task request fails with error code TaskDependencyListTooLong. In this case consider using Task ID ranges instead."
+ },
+ "taskIdRanges": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TaskIdRange"
+ },
+ "title": "The list of Task ID ranges that this Task depends on. All Tasks in all ranges must complete successfully before the dependent Task can be scheduled."
+ }
+ },
+ "title": "Specifies any dependencies of a Task. Any Task that is explicitly specified or within a dependency range must complete before the dependant Task will be scheduled."
+ },
+ "TaskIdRange": {
+ "properties": {
+ "start": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The first Task ID in the range."
+ },
+ "end": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The last Task ID in the range."
+ }
+ },
+ "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"
+ ]
+ },
+ "CloudTask": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the Task within the Job.",
+ "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters."
+ },
+ "displayName": {
+ "type": "string",
+ "title": "A display name for the Task.",
+ "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024."
+ },
+ "url": {
+ "type": "string",
+ "title": "The URL of the Task."
+ },
+ "eTag": {
+ "type": "string",
+ "title": "The ETag of the Task.",
+ "description": "This is an opaque string. You can use it to detect whether the Task has changed between requests. In particular, you can be pass the ETag when updating a Task to specify that your changes should take effect only if nobody else has modified the Task in the meantime."
+ },
+ "lastModified": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The last modified time of the Task."
+ },
+ "creationTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The creation time of the Task."
+ },
+ "exitConditions": {
+ "$ref": "#/definitions/ExitConditions",
+ "description": "How the Batch service should respond when the Task completes."
+ },
+ "state": {
+ "title": "The current state of the Task.",
+ "$ref": "#/definitions/TaskState"
+ },
+ "stateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Task entered its current state."
+ },
+ "previousState": {
+ "title": "The previous state of the Task.",
+ "description": "This property is not set if the Task is in its initial Active state.",
+ "$ref": "#/definitions/TaskState"
+ },
+ "previousStateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Task entered its previous state.",
+ "description": "This property is not set if the Task is in its initial Active state."
+ },
+ "commandLine": {
+ "type": "string",
+ "title": "The command line of the Task.",
+ "description": "For multi-instance Tasks, the command line is executed as the primary Task, after the primary Task and all subtasks have finished executing the coordination command line. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)."
+ },
+ "containerSettings": {
+ "$ref": "#/definitions/TaskContainerSettings",
+ "title": "The settings for the container under which the Task runs.",
+ "description": "If the Pool that will run this Task has containerConfiguration set, this must be set as well. If the Pool that will run this Task doesn't have containerConfiguration set, this must not be set. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files."
+ },
+ "resourceFiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceFile"
+ },
+ "title": "A list of files that the Batch service will download to the Compute Node before running the command line.",
+ "description": "For multi-instance Tasks, the resource files will only be downloaded to the Compute Node on which the primary Task is executed. 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": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OutputFile"
+ },
+ "title": "A list of files that the Batch service will upload from the Compute Node after running the command line.",
+ "description": "For multi-instance Tasks, the files will only be uploaded from the Compute Node on which the primary Task is executed."
+ },
+ "environmentSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentSetting"
+ },
+ "title": "A list of environment variable settings for the Task."
+ },
+ "affinityInfo": {
+ "$ref": "#/definitions/AffinityInformation",
+ "title": "A locality hint that can be used by the Batch service to select a Compute Node on which to start the new Task."
+ },
+ "constraints": {
+ "$ref": "#/definitions/TaskConstraints",
+ "title": "The execution constraints that apply to this Task."
+ },
+ "userIdentity": {
+ "$ref": "#/definitions/UserIdentity",
+ "title": "The user identity under which the Task runs.",
+ "description": "If omitted, the Task runs as a non-administrative user unique to the Task."
+ },
+ "executionInfo": {
+ "$ref": "#/definitions/TaskExecutionInformation",
+ "title": "Information about the execution of the Task."
+ },
+ "nodeInfo": {
+ "$ref": "#/definitions/ComputeNodeInformation",
+ "title": "Information about the Compute Node on which the Task ran."
+ },
+ "multiInstanceSettings": {
+ "$ref": "#/definitions/MultiInstanceSettings",
+ "title": "An object that indicates that the Task is a multi-instance Task, and contains information about how to run the multi-instance Task."
+ },
+ "stats": {
+ "$ref": "#/definitions/TaskStatistics",
+ "title": "Resource usage statistics for the Task."
+ },
+ "dependsOn": {
+ "$ref": "#/definitions/TaskDependencies",
+ "title": "The Tasks that this Task depends on.",
+ "description": "This Task will not be scheduled until all Tasks that it depends on have completed successfully. If any of those Tasks fail and exhaust their retry counts, this Task will never be scheduled."
+ },
+ "applicationPackageReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationPackageReference"
+ },
+ "title": "A list of 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 package is already on the Node, and is up to date, then it is not re-downloaded; the existing copy on the Compute Node is used. If a referenced 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.",
+ "description": "If this property is set, the Batch service provides the Task with an authentication token which can be used to authenticate Batch service operations without requiring an Account access key. The token is provided via the AZ_BATCH_AUTHENTICATION_TOKEN environment variable. The operations that the Task can carry out using the token depend on the settings. For example, a Task can request Job permissions in order to add other Tasks to the Job, or check the status of the Job or of other Tasks under the Job.",
+ "$ref": "#/definitions/AuthenticationTokenSettings"
+ }
+ },
+ "title": "An Azure Batch Task.",
+ "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."
+ },
+ "TaskAddParameter": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "A string that uniquely identifies the Task within the Job.",
+ "description": "The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within a Job that differ only by case)."
+ },
+ "displayName": {
+ "type": "string",
+ "title": "A display name for the Task.",
+ "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024."
+ },
+ "commandLine": {
+ "type": "string",
+ "title": "The command line of the Task.",
+ "description": "For multi-instance Tasks, the command line is executed as the primary Task, after the primary Task and all subtasks have finished executing the coordination command line. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables)."
+ },
+ "containerSettings": {
+ "$ref": "#/definitions/TaskContainerSettings",
+ "title": "The settings for the container under which the Task runs.",
+ "description": "If the Pool that will run this Task has containerConfiguration set, this must be set as well. If the Pool that will run this Task doesn't have containerConfiguration set, this must not be set. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files."
+ },
+ "exitConditions": {
+ "$ref": "#/definitions/ExitConditions",
+ "description": "How the Batch service should respond when the Task completes."
+ },
+ "resourceFiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceFile"
+ },
+ "title": "A list of files that the Batch service will download to the Compute Node before running the command line.",
+ "description": "For multi-instance Tasks, the resource files will only be downloaded to the Compute Node on which the primary Task is executed. 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": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OutputFile"
+ },
+ "title": "A list of files that the Batch service will upload from the Compute Node after running the command line.",
+ "description": "For multi-instance Tasks, the files will only be uploaded from the Compute Node on which the primary Task is executed."
+ },
+ "environmentSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentSetting"
+ },
+ "title": "A list of environment variable settings for the Task."
+ },
+ "affinityInfo": {
+ "$ref": "#/definitions/AffinityInformation",
+ "title": "A locality hint that can be used by the Batch service to select a Compute Node on which to start the new Task."
+ },
+ "constraints": {
+ "$ref": "#/definitions/TaskConstraints",
+ "title": "The execution constraints that apply to this Task.",
+ "description": "If you do not specify constraints, the maxTaskRetryCount is the maxTaskRetryCount specified for the Job, the maxWallClockTime is infinite, and the retentionTime is 7 days."
+ },
+ "userIdentity": {
+ "$ref": "#/definitions/UserIdentity",
+ "title": "The user identity under which the Task runs.",
+ "description": "If omitted, the Task runs as a non-administrative user unique to the Task."
+ },
+ "multiInstanceSettings": {
+ "$ref": "#/definitions/MultiInstanceSettings",
+ "title": "An object that indicates that the Task is a multi-instance Task, and contains information about how to run the multi-instance Task."
+ },
+ "dependsOn": {
+ "$ref": "#/definitions/TaskDependencies",
+ "title": "The Tasks that this Task depends on.",
+ "description": "This Task will not be scheduled until all Tasks that it depends on have completed successfully. If any of those Tasks fail and exhaust their retry counts, this Task will never be scheduled. If the Job does not have usesTaskDependencies set to true, and this element is present, the request fails with error code TaskDependenciesNotSpecifiedOnJob."
+ },
+ "applicationPackageReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationPackageReference"
+ },
+ "title": "A list of 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 package is already on the Node, and is up to date, then it is not re-downloaded; the existing copy on the Compute Node is used. If a referenced 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.",
+ "description": "If this property is set, the Batch service provides the Task with an authentication token which can be used to authenticate Batch service operations without requiring an Account access key. The token is provided via the AZ_BATCH_AUTHENTICATION_TOKEN environment variable. The operations that the Task can carry out using the token depend on the settings. For example, a Task can request Job permissions in order to add other Tasks to the Job, or check the status of the Job or of other Tasks under the Job.",
+ "$ref": "#/definitions/AuthenticationTokenSettings"
+ }
+ },
+ "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."
+ },
+ "TaskAddCollectionParameter": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TaskAddParameter"
+ },
+ "maxItems": 100,
+ "title": "The collection of Tasks to add. The maximum count of Tasks is 100.",
+ "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"
+ ],
+ "title": "A collection of Azure Batch Tasks to add."
+ },
+ "TaskAddResult": {
+ "properties": {
+ "status": {
+ "type": "string",
+ "title": "The status of the add Task request.",
+ "enum": [
+ "success",
+ "clienterror",
+ "servererror"
+ ],
+ "x-ms-enum": {
+ "name": "TaskAddStatus",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "success",
+ "description": "The Task was added successfully."
+ },
+ {
+ "value": "clienterror",
+ "description": "The Task failed to add due to a client error and should not be retried without modifying the request as appropriate.",
+ "name": "clientError"
+ },
+ {
+ "value": "servererror",
+ "description": "Task failed to add due to a server error and can be retried without modification.",
+ "name": "serverError"
+ }
+ ]
+ }
+ },
+ "taskId": {
+ "type": "string",
+ "title": "The ID of the Task for which this is the result."
+ },
+ "eTag": {
+ "type": "string",
+ "title": "The ETag of the Task, if the Task was successfully added.",
+ "description": "You can use this to detect whether the Task has changed between requests. In particular, you can be pass the ETag with an Update Task request to specify that your changes should take effect only if nobody else has modified the Job in the meantime."
+ },
+ "lastModified": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The last modified time of the Task."
+ },
+ "location": {
+ "type": "string",
+ "title": "The URL of the Task, if the Task was successfully added."
+ },
+ "error": {
+ "$ref": "#/definitions/BatchError",
+ "title": "The error encountered while attempting to add the Task."
+ }
+ },
+ "required": [
+ "status",
+ "taskId"
+ ],
+ "title": "Result for a single Task added as part of an add Task collection operation."
+ },
+ "TaskAddCollectionResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TaskAddResult"
+ },
+ "title": "The results of the add Task collection operation."
+ }
+ },
+ "title": "The result of adding a collection of Tasks to a Job."
+ },
+ "SubtaskInformation": {
+ "properties": {
+ "id": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The ID of the subtask."
+ },
+ "nodeInfo": {
+ "$ref": "#/definitions/ComputeNodeInformation",
+ "title": "Information about the Compute Node on which the subtask ran."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the subtask started running. If the subtask has been restarted or retried, this is the most recent time at which the subtask started running."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the subtask completed.",
+ "description": "This property is set only if the subtask is in the Completed state."
+ },
+ "exitCode": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The exit code of the program specified on the subtask command line.",
+ "description": "This property is set only if the subtask is in the completed state. In general, the exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. However, if the Batch service terminates the subtask (due to timeout, or user termination via the API) you may see an operating system-defined exit code."
+ },
+ "containerInfo": {
+ "$ref": "#/definitions/TaskContainerExecutionInformation",
+ "title": "Information about the container under which the Task is executing.",
+ "description": "This property is set only if the Task runs in a container context."
+ },
+ "failureInfo": {
+ "$ref": "#/definitions/TaskFailureInformation",
+ "title": "Information describing the Task failure, if any.",
+ "description": "This property is set only if the Task is in the completed state and encountered a failure."
+ },
+ "state": {
+ "title": "The current state of the subtask.",
+ "$ref": "#/definitions/SubtaskState"
+ },
+ "stateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the subtask entered its current state."
+ },
+ "previousState": {
+ "title": "The previous state of the subtask.",
+ "description": "This property is not set if the subtask is in its initial running state.",
+ "$ref": "#/definitions/SubtaskState"
+ },
+ "previousStateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the subtask entered its previous state.",
+ "description": "This property is not set if the subtask is in its initial running state."
+ },
+ "result": {
+ "$ref": "#/definitions/TaskExecutionResult",
+ "title": "The result of the Task execution.",
+ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
+ }
+ },
+ "title": "Information about an Azure Batch subtask."
+ },
+ "CloudTaskListSubtasksResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubtaskInformation"
+ },
+ "title": "The list of subtasks."
+ }
+ },
+ "title": "The result of listing the subtasks of a Task."
+ },
+ "CloudTaskListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudTask"
+ },
+ "title": "The list of Tasks."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of listing the Tasks in a Job."
+ },
+ "TaskInformation": {
+ "properties": {
+ "taskUrl": {
+ "type": "string",
+ "title": "The URL of the Task."
+ },
+ "jobId": {
+ "type": "string",
+ "title": "The ID of the Job to which the Task belongs."
+ },
+ "taskId": {
+ "type": "string",
+ "title": "The ID of the Task."
+ },
+ "subtaskId": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The ID of the subtask if the Task is a multi-instance Task."
+ },
+ "taskState": {
+ "title": "The current state of the Task.",
+ "$ref": "#/definitions/TaskState"
+ },
+ "executionInfo": {
+ "$ref": "#/definitions/TaskExecutionInformation",
+ "title": "Information about the execution of the Task."
+ }
+ },
+ "required": [
+ "taskState"
+ ],
+ "title": "Information about a Task running on a Compute Node."
+ },
+ "StartTaskInformation": {
+ "properties": {
+ "state": {
+ "type": "string",
+ "title": "The state of the StartTask on the Compute Node.",
+ "enum": [
+ "running",
+ "completed"
+ ],
+ "x-ms-enum": {
+ "name": "StartTaskState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "running",
+ "description": "The StartTask is currently running."
+ },
+ {
+ "value": "completed",
+ "description": "The StartTask has exited with exit code 0, or the StartTask has failed and the retry limit has reached, or the StartTask process did not run due to Task preparation errors (such as resource file download failures)."
+ }
+ ]
+ }
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the StartTask started running.",
+ "description": "This value is reset every time the Task is restarted or retried (that is, this is the most recent time at which the StartTask started running)."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the StartTask stopped running.",
+ "description": "This is the end time of the most recent run of the StartTask, if that run has completed (even if that run failed and a retry is pending). This element is not present if the StartTask is currently running."
+ },
+ "exitCode": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The exit code of the program specified on the StartTask command line.",
+ "description": "This property is set only if the StartTask is in the completed state. In general, the exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. However, if the Batch service terminates the StartTask (due to timeout, or user termination via the API) you may see an operating system-defined exit code."
+ },
+ "containerInfo": {
+ "$ref": "#/definitions/TaskContainerExecutionInformation",
+ "title": "Information about the container under which the Task is executing.",
+ "description": "This property is set only if the Task runs in a container context."
+ },
+ "failureInfo": {
+ "$ref": "#/definitions/TaskFailureInformation",
+ "title": "Information describing the Task failure, if any.",
+ "description": "This property is set only if the Task is in the completed state and encountered a failure."
+ },
+ "retryCount": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of times the Task has been retried by the Batch service.",
+ "description": "Task application failures (non-zero exit code) are retried, pre-processing errors (the Task could not be run) and file upload errors are not retried. The Batch service will retry the Task up to the limit specified by the constraints."
+ },
+ "lastRetryTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The most recent time at which a retry of the Task started running.",
+ "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."
+ },
+ "result": {
+ "$ref": "#/definitions/TaskExecutionResult",
+ "title": "The result of the Task execution.",
+ "description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
+ }
+ },
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
+ "title": "Information about a StartTask running on a Compute Node."
+ },
+ "ComputeNodeError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "title": "An identifier for the Compute Node error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "title": "A message describing the Compute Node error, intended to be suitable for display in a user interface."
+ },
+ "errorDetails": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NameValuePair"
+ },
+ "title": "The list of additional error details related to the Compute Node error."
+ }
+ },
+ "title": "An error encountered by a Compute Node."
+ },
+ "ComputeNode": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "The ID of the Compute Node.",
+ "description": "Every Compute Node that is added to a Pool is assigned a unique ID. Whenever a Compute Node is removed from a Pool, all of its local files are deleted, and the ID is reclaimed and could be reused for new Compute Nodes."
+ },
+ "url": {
+ "type": "string",
+ "title": "The URL of the Compute Node."
+ },
+ "state": {
+ "type": "string",
+ "title": "The current state of the Compute Node.",
+ "description": "The low-priority Compute Node has been preempted. Tasks which were running on the Compute Node when it was preempted will be rescheduled when another Compute Node becomes available.",
+ "enum": [
+ "idle",
+ "rebooting",
+ "reimaging",
+ "running",
+ "unusable",
+ "creating",
+ "starting",
+ "waitingforstarttask",
+ "starttaskfailed",
+ "unknown",
+ "leavingpool",
+ "offline",
+ "preempted"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeNodeState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "idle",
+ "description": "The Compute Node is not currently running a Task."
+ },
+ {
+ "value": "rebooting",
+ "description": "The Compute Node is rebooting."
+ },
+ {
+ "value": "reimaging",
+ "description": "The Compute Node is reimaging."
+ },
+ {
+ "value": "running",
+ "description": "The Compute Node is running one or more Tasks (other than a StartTask)."
+ },
+ {
+ "value": "unusable",
+ "description": "The Compute Node cannot be used for Task execution due to errors."
+ },
+ {
+ "value": "creating",
+ "description": "The Batch service has obtained the underlying virtual machine from Azure Compute, but it has not yet started to join the Pool."
+ },
+ {
+ "value": "starting",
+ "description": "The Batch service is starting on the underlying virtual machine."
+ },
+ {
+ "value": "waitingforstarttask",
+ "description": "The StartTask has started running on the Compute Node, but waitForSuccess is set and the StartTask has not yet completed.",
+ "name": "waitingForStartTask"
+ },
+ {
+ "value": "starttaskfailed",
+ "description": "The StartTask has failed on the Compute Node (and exhausted all retries), and waitForSuccess is set. The Compute Node is not usable for running Tasks.",
+ "name": "startTaskFailed"
+ },
+ {
+ "value": "unknown",
+ "description": "The Batch service has lost contact with the Compute Node, and does not know its true state."
+ },
+ {
+ "value": "leavingpool",
+ "description": "The Compute Node is leaving the Pool, either because the user explicitly removed it or because the Pool is resizing or autoscaling down.",
+ "name": "leavingPool"
+ },
+ {
+ "value": "offline",
+ "description": "The Compute Node is not currently running a Task, and scheduling of new Tasks to the Compute Node is disabled."
+ },
+ {
+ "value": "preempted",
+ "description": "The low-priority Compute Node has been preempted. Tasks which were running on the Compute Node when it was preempted will be rescheduled when another Compute Node becomes available."
+ }
+ ]
+ }
+ },
+ "schedulingState": {
+ "type": "string",
+ "title": "Whether the Compute Node is available for Task scheduling.",
+ "enum": [
+ "enabled",
+ "disabled"
+ ],
+ "x-ms-enum": {
+ "name": "SchedulingState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "enabled",
+ "description": "Tasks can be scheduled on the Compute Node."
+ },
+ {
+ "value": "disabled",
+ "description": "No new Tasks will be scheduled on the Compute Node. Tasks already running on the Compute Node may still run to completion. All Compute Nodes start with scheduling enabled."
+ }
+ ]
+ }
+ },
+ "stateTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Compute Node entered its current state."
+ },
+ "lastBootTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The last time at which the Compute Node was started.",
+ "description": "This property may not be present if the Compute Node state is unusable."
+ },
+ "allocationTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which this Compute Node was allocated to the Pool.",
+ "description": "This is the time when the Compute Node was initially allocated and doesn't change once set. It is not updated when the Compute Node is service healed or preempted."
+ },
+ "ipAddress": {
+ "type": "string",
+ "title": "The IP address that other Nodes can use to communicate with this Compute Node.",
+ "description": "Every Compute Node that is added to a Pool is assigned a unique IP address. Whenever a Compute Node is removed from a Pool, all of its local files are deleted, and the IP address is reclaimed and could be reused for new Compute Nodes."
+ },
+ "affinityId": {
+ "type": "string",
+ "title": "An identifier which can be passed when adding a Task to request that the Task be scheduled on this Compute Node.",
+ "description": "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."
+ },
+ "vmSize": {
+ "type": "string",
+ "title": "The size of the virtual machine hosting the Compute Node.",
+ "description": "For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes)."
+ },
+ "totalTasksRun": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The total number of Job Tasks completed on the Compute Node. This includes Job Manager Tasks and normal Tasks, but not Job Preparation, Job Release or Start Tasks."
+ },
+ "runningTasksCount": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The total number of currently running Job Tasks on the Compute Node. This includes Job Manager Tasks and normal Tasks, but not Job Preparation, Job Release or Start Tasks."
+ },
+ "totalTasksSucceeded": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The total number of Job Tasks which completed successfully (with exitCode 0) on the Compute Node. This includes Job Manager Tasks and normal Tasks, but not Job Preparation, Job Release or Start Tasks."
+ },
+ "recentTasks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TaskInformation"
+ },
+ "title": "A list of Tasks whose state has recently changed.",
+ "description": "This property is present only if at least one Task has run on this Compute Node since it was assigned to the Pool."
+ },
+ "startTask": {
+ "$ref": "#/definitions/StartTask",
+ "title": "The Task specified to run on the Compute Node as it joins the Pool."
+ },
+ "startTaskInfo": {
+ "$ref": "#/definitions/StartTaskInformation",
+ "title": "Runtime information about the execution of the StartTask on the Compute Node."
+ },
+ "certificateReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CertificateReference"
+ },
+ "title": "The list of Certificates installed on the Compute Node.",
+ "description": "For Windows 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/{user-name}/certs) and Certificates are placed in that directory."
+ },
+ "errors": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ComputeNodeError"
+ },
+ "title": "The list of errors that are currently being encountered by the Compute Node."
+ },
+ "isDedicated": {
+ "type": "boolean",
+ "title": "Whether this Compute Node is a dedicated Compute Node. If false, the Compute Node is a low-priority Compute Node."
+ },
+ "endpointConfiguration": {
+ "$ref": "#/definitions/ComputeNodeEndpointConfiguration",
+ "title": "The endpoint configuration for the Compute Node."
+ },
+ "nodeAgentInfo": {
+ "$ref": "#/definitions/NodeAgentInformation",
+ "title": "Information about the Compute Node agent version and the time the Compute Node upgraded to a new version."
+ }
+ },
+ "title": "A Compute Node in the Batch service."
+ },
+ "PoolEndpointConfiguration": {
+ "properties": {
+ "inboundNATPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InboundNATPool"
+ },
+ "title": "A list of inbound NAT Pools that can be used to address specific ports on an individual Compute Node externally.",
+ "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"
+ ],
+ "title": "The endpoint configuration for a Pool."
+ },
+ "InboundNATPool": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "The name of the endpoint.",
+ "description": "The name must be unique within a Batch Pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400."
+ },
+ "protocol": {
+ "$ref": "#/definitions/InboundEndpointProtocol",
+ "title": "The protocol of the endpoint."
+ },
+ "backendPort": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The port number on the Compute Node.",
+ "description": "This must be unique within a Batch Pool. Acceptable values are between 1 and 65535 except for 22, 3389, 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400."
+ },
+ "frontendPortRangeStart": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The first port number in the range of external ports that will be used to provide inbound access to the backendPort on individual Compute Nodes.",
+ "description": "Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a Pool must be distinct and cannot overlap. Each range must contain at least 40 ports. If any reserved or overlapping values are provided the request fails with HTTP status code 400."
+ },
+ "frontendPortRangeEnd": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The last port number in the range of external ports that will be used to provide inbound access to the backendPort on individual Compute Nodes.",
+ "description": "Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a Pool must be distinct and cannot overlap. Each range must contain at least 40 ports. If any reserved or overlapping values are provided the request fails with HTTP status code 400."
+ },
+ "networkSecurityGroupRules": {
+ "type": "array",
+ "title": "A list of network security group rules that will be applied to the endpoint.",
+ "description": "The maximum number of rules that can be specified across all the endpoints on a Batch Pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.",
+ "items": {
+ "$ref": "#/definitions/NetworkSecurityGroupRule"
+ }
+ }
+ },
+ "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": {
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The priority for this rule.",
+ "description": "Priorities within a Pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 3500. If any reserved or duplicate values are provided the request fails with HTTP status code 400."
+ },
+ "access": {
+ "type": "string",
+ "title": "The action that should be taken for a specified IP address, subnet range or tag.",
+ "enum": [
+ "allow",
+ "deny"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkSecurityGroupRuleAccess",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "allow",
+ "description": "Allow access."
+ },
+ {
+ "value": "deny",
+ "description": "Deny access."
+ }
+ ]
+ }
+ },
+ "sourceAddressPrefix": {
+ "type": "string",
+ "title": "The source address prefix or tag to match for the rule.",
+ "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."
+ },
+ "sourcePortRanges": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "title": "The source port ranges to match for the rule.",
+ "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"
+ ],
+ "title": "A network security group rule to apply to an inbound endpoint."
+ },
+ "ComputeNodeEndpointConfiguration": {
+ "properties": {
+ "inboundEndpoints": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InboundEndpoint"
+ },
+ "title": "The list of inbound endpoints that are accessible on the Compute Node."
+ }
+ },
+ "required": [
+ "inboundEndpoints"
+ ],
+ "title": "The endpoint configuration for the Compute Node."
+ },
+ "InboundEndpoint": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "The name of the endpoint."
+ },
+ "protocol": {
+ "$ref": "#/definitions/InboundEndpointProtocol",
+ "title": "The protocol of the endpoint."
+ },
+ "publicIPAddress": {
+ "type": "string",
+ "title": "The public IP address of the Compute Node."
+ },
+ "publicFQDN": {
+ "type": "string",
+ "title": "The public fully qualified domain name for the Compute Node."
+ },
+ "frontendPort": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The public port number of the endpoint."
+ },
+ "backendPort": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The backend port number of the endpoint."
+ }
+ },
+ "required": [
+ "name",
+ "protocol",
+ "publicIPAddress",
+ "publicFQDN",
+ "frontendPort",
+ "backendPort"
+ ],
+ "title": "An inbound endpoint on a Compute Node."
+ },
+ "ComputeNodeListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ComputeNode"
+ },
+ "title": "The list of Compute Nodes."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of listing the Compute Nodes in a Pool."
+ },
+ "ComputeNodeUser": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "The user name of the Account."
+ },
+ "isAdmin": {
+ "type": "boolean",
+ "title": "Whether the Account should be an administrator on the Compute Node.",
+ "description": "The default value is false."
+ },
+ "expiryTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Account should expire.",
+ "description": "If omitted, the default is 1 day from the current time. For Linux Compute Nodes, the expiryTime has a precision up to a day."
+ },
+ "password": {
+ "type": "string",
+ "title": "The password of the Account.",
+ "description": "The password is required for Windows Compute Nodes (those created with 'cloudServiceConfiguration', or created with 'virtualMachineConfiguration' using a Windows Image reference). For Linux Compute Nodes, the password can optionally be specified along with the sshPublicKey property."
+ },
+ "sshPublicKey": {
+ "type": "string",
+ "title": "The SSH public key that can be used for remote login to the Compute Node.",
+ "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"
+ ],
+ "title": "A user Account for RDP or SSH access on a Compute Node."
+ },
+ "ComputeNodeGetRemoteLoginSettingsResult": {
+ "properties": {
+ "remoteLoginIPAddress": {
+ "type": "string",
+ "title": "The IP address used for remote login to the Compute Node."
+ },
+ "remoteLoginPort": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The port used for remote login to the Compute Node."
+ }
+ },
+ "required": [
+ "remoteLoginIPAddress",
+ "remoteLoginPort"
+ ],
+ "title": "The remote login settings for a Compute Node."
+ },
+ "JobSchedulePatchParameter": {
+ "properties": {
+ "schedule": {
+ "$ref": "#/definitions/Schedule",
+ "title": "The schedule according to which Jobs will be created.",
+ "description": "If you do not specify this element, the existing schedule is left unchanged."
+ },
+ "jobSpecification": {
+ "$ref": "#/definitions/JobSpecification",
+ "title": "The details of the Jobs to be created on this schedule.",
+ "description": "Updates affect only Jobs that are started after the update has taken place. Any currently active Job continues with the older specification."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the Job Schedule as metadata.",
+ "description": "If you do not specify this element, existing metadata is left unchanged."
+ }
+ },
+ "title": "The set of changes to be made to a Job Schedule."
+ },
+ "JobScheduleUpdateParameter": {
+ "properties": {
+ "schedule": {
+ "$ref": "#/definitions/Schedule",
+ "title": "The schedule according to which Jobs will be created.",
+ "description": "If you do not specify this element, it is equivalent to passing the default schedule: that is, a single Job scheduled to run immediately."
+ },
+ "jobSpecification": {
+ "$ref": "#/definitions/JobSpecification",
+ "title": "Details of the Jobs to be created on this schedule.",
+ "description": "Updates affect only Jobs that are started after the update has taken place. Any currently active Job continues with the older specification."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the Job Schedule as metadata.",
+ "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"
+ ],
+ "title": "The set of changes to be made to a Job Schedule."
+ },
+ "JobDisableParameter": {
+ "properties": {
+ "disableTasks": {
+ "type": "string",
+ "title": "What to do with active Tasks associated with the Job.",
+ "enum": [
+ "requeue",
+ "terminate",
+ "wait"
+ ],
+ "x-ms-enum": {
+ "name": "DisableJobOption",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "requeue",
+ "description": "Terminate running Tasks and requeue them. The Tasks will run again when the Job is enabled."
+ },
+ {
+ "value": "terminate",
+ "description": "Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again."
+ },
+ {
+ "value": "wait",
+ "description": "Allow currently running Tasks to complete."
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "disableTasks"
+ ],
+ "title": "Options when disabling a Job."
+ },
+ "JobTerminateParameter": {
+ "properties": {
+ "terminateReason": {
+ "type": "string",
+ "title": "The text you want to appear as the Job's TerminateReason. The default is 'UserTerminate'."
+ }
+ },
+ "title": "Options when terminating a Job."
+ },
+ "JobPatchParameter": {
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The priority of the Job.",
+ "description": "Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. If omitted, the priority of the Job is left unchanged."
+ },
+ "onAllTasksComplete": {
+ "title": "The action the Batch service should take when all Tasks in the Job are in the completed state.",
+ "description": "If omitted, the completion behavior is left unchanged. You may not change the value from terminatejob to noaction - that is, once you have engaged automatic Job termination, you cannot turn it off again. If you try to do this, the request fails with an 'invalid property value' error response; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).",
+ "$ref": "#/definitions/OnAllTasksComplete"
+ },
+ "constraints": {
+ "$ref": "#/definitions/JobConstraints",
+ "title": "The execution constraints for the Job.",
+ "description": "If omitted, the existing execution constraints are left unchanged."
+ },
+ "poolInfo": {
+ "$ref": "#/definitions/PoolInformation",
+ "title": "The Pool on which the Batch service runs the Job's Tasks.",
+ "description": "You may change the Pool for a Job only when the Job is disabled. The Patch Job call will fail if you include the poolInfo element and the Job is not disabled. If you specify an autoPoolSpecification in the poolInfo, only the keepAlive property of the autoPoolSpecification can be updated, and then only if the autoPoolSpecification has a poolLifetimeOption of Job (other job properties can be updated as normal). If omitted, the Job continues to run on its current Pool."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the Job as metadata.",
+ "description": "If omitted, the existing Job metadata is left unchanged."
+ }
+ },
+ "title": "The set of changes to be made to a Job."
+ },
+ "JobUpdateParameter": {
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The priority of the Job.",
+ "description": "Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. If omitted, it is set to the default value 0."
+ },
+ "constraints": {
+ "$ref": "#/definitions/JobConstraints",
+ "title": "The execution constraints for the Job.",
+ "description": "If omitted, the constraints are cleared."
+ },
+ "poolInfo": {
+ "$ref": "#/definitions/PoolInformation",
+ "title": "The Pool on which the Batch service runs the Job's Tasks.",
+ "description": "You may change the Pool for a Job only when the Job is disabled. The Update Job call will fail if you include the poolInfo element and the Job is not disabled. If you specify an autoPoolSpecification in the poolInfo, only the keepAlive property of the autoPoolSpecification can be updated, and then only if the autoPoolSpecification has a poolLifetimeOption of Job (other job properties can be updated as normal)."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the Job as metadata.",
+ "description": "If omitted, it takes the default value of an empty list; in effect, any existing metadata is deleted."
+ },
+ "onAllTasksComplete": {
+ "title": "The action the Batch service should take when all Tasks in the Job are in the completed state.",
+ "description": "If omitted, the completion behavior is set to noaction. If the current value is terminatejob, this is an error because a Job's completion behavior may not be changed from terminatejob to noaction. You may not change the value from terminatejob to noaction - that is, once you have engaged automatic Job termination, you cannot turn it off again. If you try to do this, the request fails and Batch returns status code 400 (Bad Request) and an 'invalid property value' error response. If you do not specify this element in a PUT request, it is equivalent to passing noaction. This is an error if the current value is terminatejob.",
+ "$ref": "#/definitions/OnAllTasksComplete"
+ }
+ },
+ "required": [
+ "poolInfo"
+ ],
+ "title": "The set of changes to be made to a Job."
+ },
+ "PoolEnableAutoScaleParameter": {
+ "properties": {
+ "autoScaleFormula": {
+ "type": "string",
+ "title": "The formula for the desired number of Compute Nodes in the Pool.",
+ "description": "The formula is checked for validity before it is applied to the Pool. If the formula is not valid, the Batch service rejects the request with detailed error information. 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)."
+ },
+ "autoScaleEvaluationInterval": {
+ "type": "string",
+ "format": "duration",
+ "title": "The time interval at which to automatically adjust the Pool size according to the autoscale formula.",
+ "description": "The default value is 15 minutes. The minimum and maximum value are 5 minutes and 168 hours respectively. If you specify a value less than 5 minutes or greater than 168 hours, the Batch service rejects the request with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). If you specify a new interval, then the existing autoscale evaluation schedule will be stopped and a new autoscale evaluation schedule will be started, with its starting time being the time when this request was issued."
+ }
+ },
+ "title": "Options for enabling automatic scaling on a Pool."
+ },
+ "PoolEvaluateAutoScaleParameter": {
+ "properties": {
+ "autoScaleFormula": {
+ "type": "string",
+ "title": "The formula for the desired number of Compute Nodes in the Pool.",
+ "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"
+ ],
+ "title": "Options for evaluating an automatic scaling formula on a Pool."
+ },
+ "PoolResizeParameter": {
+ "properties": {
+ "targetDedicatedNodes": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The desired number of dedicated Compute Nodes in the Pool."
+ },
+ "targetLowPriorityNodes": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The desired number of low-priority Compute Nodes in the Pool."
+ },
+ "resizeTimeout": {
+ "type": "string",
+ "format": "duration",
+ "title": "The timeout for allocation of Nodes to the Pool or removal of Compute Nodes from the Pool.",
+ "description": "The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
+ },
+ "nodeDeallocationOption": {
+ "title": "Determines what to do with a Compute Node and its running task(s) if the Pool size is decreasing.",
+ "description": "The default value is requeue.",
+ "$ref": "#/definitions/ComputeNodeDeallocationOption"
+ }
+ },
+ "title": "Options for changing the size of a Pool."
+ },
+ "PoolUpdatePropertiesParameter": {
+ "properties": {
+ "startTask": {
+ "$ref": "#/definitions/StartTask",
+ "title": "A Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted.",
+ "description": "If this element is present, it overwrites any existing StartTask. If omitted, any existing StartTask is removed from the Pool."
+ },
+ "certificateReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CertificateReference"
+ },
+ "title": "A list of Certificates to be installed on each Compute Node in the Pool.",
+ "description": "This list replaces any existing Certificate references configured on the Pool. If you specify an empty collection, any existing Certificate references are removed from the Pool. For Windows 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/{user-name}/certs) and Certificates are placed in that directory."
+ },
+ "applicationPackageReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationPackageReference"
+ },
+ "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",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the Pool as metadata.",
+ "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"
+ ],
+ "title": "The set of changes to be made to a Pool."
+ },
+ "PoolPatchParameter": {
+ "properties": {
+ "startTask": {
+ "$ref": "#/definitions/StartTask",
+ "title": "A Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted.",
+ "description": "If this element is present, it overwrites any existing StartTask. If omitted, any existing StartTask is left unchanged."
+ },
+ "certificateReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CertificateReference"
+ },
+ "title": "A list of Certificates to be installed on each Compute Node in the Pool.",
+ "description": "If this element is present, it replaces any existing Certificate references configured on the Pool. If omitted, any existing Certificate references are left unchanged. For Windows 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/{user-name}/certs) and Certificates are placed in that directory."
+ },
+ "applicationPackageReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationPackageReference"
+ },
+ "title": "A list of Packages to be installed on each Compute Node in the Pool.",
+ "description": "Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. If this element is present, it replaces any existing Package references. If you specify an empty collection, then all Package references are removed from the Pool. If omitted, any existing Package references are left unchanged."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetadataItem"
+ },
+ "title": "A list of name-value pairs associated with the Pool as metadata.",
+ "description": "If this element is present, it replaces any existing metadata configured on the Pool. If you specify an empty collection, any metadata is removed from the Pool. If omitted, any existing metadata is left unchanged."
+ }
+ },
+ "title": "The set of changes to be made to a Pool."
+ },
+ "TaskUpdateParameter": {
+ "properties": {
+ "constraints": {
+ "$ref": "#/definitions/TaskConstraints",
+ "title": "Constraints that apply to this Task.",
+ "description": "If omitted, the Task is given the default constraints. For multi-instance Tasks, updating the retention time applies only to the primary Task and not subtasks."
+ }
+ },
+ "title": "The set of changes to be made to a Task."
+ },
+ "NodeUpdateUserParameter": {
+ "properties": {
+ "password": {
+ "type": "string",
+ "title": "The password of the Account.",
+ "description": "The password is required for Windows Compute Nodes (those created with 'cloudServiceConfiguration', or created with 'virtualMachineConfiguration' using a Windows Image reference). For Linux Compute Nodes, the password can optionally be specified along with the sshPublicKey property. If omitted, any existing password is removed."
+ },
+ "expiryTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The time at which the Account should expire.",
+ "description": "If omitted, the default is 1 day from the current time. For Linux Compute Nodes, the expiryTime has a precision up to a day."
+ },
+ "sshPublicKey": {
+ "type": "string",
+ "title": "The SSH public key that can be used for remote login to the Compute Node.",
+ "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). If omitted, any existing SSH public key is removed."
+ }
+ },
+ "title": "The set of changes to be made to a user Account on a Compute Node."
+ },
+ "NodeRebootParameter": {
+ "properties": {
+ "nodeRebootOption": {
+ "type": "string",
+ "title": "When to reboot the Compute Node and what to do with currently running Tasks.",
+ "description": "The default value is requeue.",
+ "enum": [
+ "requeue",
+ "terminate",
+ "taskcompletion",
+ "retaineddata"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeNodeRebootOption",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "requeue",
+ "description": "Terminate running Task processes and requeue the Tasks. The Tasks will run again when a Compute Node is available. Restart the Compute Node as soon as Tasks have been terminated."
+ },
+ {
+ "value": "terminate",
+ "description": "Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Restart the Compute Node as soon as Tasks have been terminated."
+ },
+ {
+ "value": "taskcompletion",
+ "description": "Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Restart the Compute Node when all Tasks have completed.",
+ "name": "taskCompletion"
+ },
+ {
+ "value": "retaineddata",
+ "description": "Allow currently running Tasks to complete, then wait for all Task data retention periods to expire. Schedule no new Tasks while waiting. Restart the Compute Node when all Task retention periods have expired.",
+ "name": "retainedData"
+ }
+ ]
+ }
+ }
+ },
+ "title": "Options for rebooting a Compute Node."
+ },
+ "NodeReimageParameter": {
+ "properties": {
+ "nodeReimageOption": {
+ "type": "string",
+ "title": "When to reimage the Compute Node and what to do with currently running Tasks.",
+ "description": "The default value is requeue.",
+ "enum": [
+ "requeue",
+ "terminate",
+ "taskcompletion",
+ "retaineddata"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeNodeReimageOption",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "requeue",
+ "description": "Terminate running Task processes and requeue the Tasks. The Tasks will run again when a Compute Node is available. Reimage the Compute Node as soon as Tasks have been terminated."
+ },
+ {
+ "value": "terminate",
+ "description": "Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Reimage the Compute Node as soon as Tasks have been terminated."
+ },
+ {
+ "value": "taskcompletion",
+ "description": "Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Reimage the Compute Node when all Tasks have completed.",
+ "name": "taskCompletion"
+ },
+ {
+ "value": "retaineddata",
+ "description": "Allow currently running Tasks to complete, then wait for all Task data retention periods to expire. Schedule no new Tasks while waiting. Reimage the Compute Node when all Task retention periods have expired.",
+ "name": "retainedData"
+ }
+ ]
+ }
+ }
+ },
+ "title": "Options for reimaging a Compute Node."
+ },
+ "NodeDisableSchedulingParameter": {
+ "properties": {
+ "nodeDisableSchedulingOption": {
+ "type": "string",
+ "title": "What to do with currently running Tasks when disabling Task scheduling on the Compute Node.",
+ "description": "The default value is requeue.",
+ "enum": [
+ "requeue",
+ "terminate",
+ "taskcompletion"
+ ],
+ "x-ms-enum": {
+ "name": "DisableComputeNodeSchedulingOption",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "requeue",
+ "description": "Terminate running Task processes and requeue the Tasks. The Tasks may run again on other Compute Nodes, or when Task scheduling is re-enabled on this Compute Node. Enter offline state as soon as Tasks have been terminated."
+ },
+ {
+ "value": "terminate",
+ "description": "Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Enter offline state as soon as Tasks have been terminated."
+ },
+ {
+ "value": "taskcompletion",
+ "description": "Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Enter offline state when all Tasks have completed.",
+ "name": "taskCompletion"
+ }
+ ]
+ }
+ }
+ },
+ "title": "Options for disabling scheduling on a Compute Node."
+ },
+ "NodeRemoveParameter": {
+ "properties": {
+ "nodeList": {
+ "type": "array",
+ "maxItems": 100,
+ "items": {
+ "type": "string"
+ },
+ "title": "A list containing the IDs of the Compute Nodes to be removed from the specified Pool."
+ },
+ "resizeTimeout": {
+ "type": "string",
+ "format": "duration",
+ "title": "The timeout for removal of Compute Nodes to the Pool.",
+ "description": "The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
+ },
+ "nodeDeallocationOption": {
+ "title": "Determines what to do with a Compute Node and its running task(s) after it has been selected for deallocation.",
+ "description": "The default value is requeue.",
+ "$ref": "#/definitions/ComputeNodeDeallocationOption"
+ }
+ },
+ "required": [
+ "nodeList"
+ ],
+ "title": "Options for removing Compute Nodes from a Pool."
+ },
+ "OutputFile": {
+ "properties": {
+ "filePattern": {
+ "type": "string",
+ "title": "A pattern indicating which file(s) to upload.",
+ "description": "Both relative and absolute paths are supported. Relative paths are relative to the Task working directory. The following wildcards are supported: * matches 0 or more characters (for example pattern abc* would match abc or abcdef), ** matches any directory, ? matches any single character, [abc] matches one character in the brackets, and [a-c] matches one character in the range. Brackets can include a negation to match any character not specified (for example [!abc] matches any character but a, b, or c). If a file name starts with \".\" it is ignored by default but may be matched by specifying it explicitly (for example *.gif will not match .a.gif, but .*.gif will). A simple example: **\\*.txt matches any file that does not start in '.' and ends with .txt in the Task working directory or any subdirectory. If the filename contains a wildcard character it can be escaped using brackets (for example abc[*] would match a file named abc*). Note that both \\ and / are treated as directory separators on Windows, but only / is on Linux. Environment variables (%var% on Windows or $var on Linux) are expanded prior to the pattern being applied."
+ },
+ "destination": {
+ "title": "The destination for the output file(s).",
+ "$ref": "#/definitions/OutputFileDestination"
+ },
+ "uploadOptions": {
+ "title": "Additional options for the upload operation, including under what conditions to perform the upload.",
+ "$ref": "#/definitions/OutputFileUploadOptions"
+ }
+ },
+ "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": {
+ "properties": {
+ "container": {
+ "title": "A location in Azure blob storage to which files are uploaded.",
+ "$ref": "#/definitions/OutputFileBlobContainerDestination"
+ }
+ },
+ "title": "The destination to which a file should be uploaded."
+ },
+ "OutputFileBlobContainerDestination": {
+ "properties": {
+ "path": {
+ "type": "string",
+ "title": "The destination blob or virtual directory within the Azure Storage container.",
+ "description": "If filePattern refers to a specific file (i.e. contains no wildcards), then path is the name of the blob to which to upload that file. If filePattern contains one or more wildcards (and therefore may match multiple files), then path is the name of the blob virtual directory (which is prepended to each blob name) to which to upload the file(s). If omitted, file(s) are uploaded to the root of the container with a blob name matching their file name."
+ },
+ "containerUrl": {
+ "type": "string",
+ "title": "The URL of the container within Azure Blob Storage to which to upload the file(s).",
+ "description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container."
+ }
+ },
+ "required": [
+ "containerUrl"
+ ],
+ "title": "Specifies a file upload destination within an Azure blob storage container."
+ },
+ "OutputFileUploadOptions": {
+ "properties": {
+ "uploadCondition": {
+ "title": "The conditions under which the Task output file or set of files should be uploaded.",
+ "description": "The default is taskcompletion.",
+ "$ref": "#/definitions/OutputFileUploadCondition"
+ }
+ },
+ "required": [
+ "uploadCondition"
+ ],
+ "title": "Details about an output file upload operation, including under what conditions to perform the upload."
+ },
+ "ErrorMessage": {
+ "properties": {
+ "lang": {
+ "type": "string",
+ "title": "The language code of the error message"
+ },
+ "value": {
+ "type": "string",
+ "title": "The text of the message."
+ }
+ },
+ "title": "An error message received in an Azure Batch error response."
+ },
+ "BatchErrorDetail": {
+ "properties": {
+ "key": {
+ "type": "string",
+ "title": "An identifier specifying the meaning of the Value property."
+ },
+ "value": {
+ "type": "string",
+ "title": "The additional information included with the error response."
+ }
+ },
+ "title": "An item of additional information included in an Azure Batch error response."
+ },
+ "BatchError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "title": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "$ref": "#/definitions/ErrorMessage",
+ "title": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BatchErrorDetail"
+ },
+ "title": "A collection of key-value pairs containing additional details about the error."
+ }
+ },
+ "title": "An error response received from the Azure Batch service."
+ },
+ "CertificateState": {
+ "type": "string",
+ "title": "The state of the Certificate.",
+ "enum": [
+ "active",
+ "deleting",
+ "deletefailed"
+ ],
+ "x-ms-enum": {
+ "name": "CertificateState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "active",
+ "description": "The Certificate is available for use in Pools."
+ },
+ {
+ "value": "deleting",
+ "description": "The user has requested that the Certificate be deleted, but the delete operation has not yet completed. You may not reference the Certificate when creating or updating Pools."
+ },
+ {
+ "value": "deletefailed",
+ "description": "The user requested that the Certificate be deleted, but there are Pools that still have references to the Certificate, or it is still installed on one or more Nodes. (The latter can occur if the Certificate has been removed from the Pool, but the Compute Node has not yet restarted. Compute Nodes refresh their Certificates only when they restart.) You may use the cancel Certificate delete operation to cancel the delete, or the delete Certificate operation to retry the delete.",
+ "name": "deleteFailed"
+ }
+ ]
+ }
+ },
+ "ElevationLevel": {
+ "type": "string",
+ "title": "The elevation level of the user.",
+ "enum": [
+ "nonadmin",
+ "admin"
+ ],
+ "x-ms-enum": {
+ "name": "ElevationLevel",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "nonadmin",
+ "description": "The user is a standard user without elevated access.",
+ "name": "nonAdmin"
+ },
+ {
+ "value": "admin",
+ "description": "The user is a user with elevated access and operates with full Administrator permissions."
+ }
+ ]
+ }
+ },
+ "JobScheduleState": {
+ "type": "string",
+ "title": "The state of the Job Schedule.",
+ "enum": [
+ "active",
+ "completed",
+ "disabled",
+ "terminating",
+ "deleting"
+ ],
+ "x-ms-enum": {
+ "name": "JobScheduleState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "active",
+ "description": "The Job Schedule is active and will create Jobs as per its schedule."
+ },
+ {
+ "value": "completed",
+ "description": "The Job Schedule has terminated, either by reaching its end time or by the user terminating it explicitly."
+ },
+ {
+ "value": "disabled",
+ "description": "The user has disabled the Job Schedule. The scheduler will not initiate any new Jobs will on this schedule, but any existing active Job will continue to run."
+ },
+ {
+ "value": "terminating",
+ "description": "The Job Schedule has no more work to do, or has been explicitly terminated by the user, but the termination operation is still in progress. The scheduler will not initiate any new Jobs for this Job Schedule, nor is any existing Job active."
+ },
+ {
+ "value": "deleting",
+ "description": "The user has requested that the Job Schedule be deleted, but the delete operation is still in progress. The scheduler will not initiate any new Jobs for this Job Schedule, and will delete any existing Jobs and Tasks under the Job Schedule, including any active Job. The Job Schedule will be deleted when all Jobs and Tasks under the Job Schedule have been deleted."
+ }
+ ]
+ }
+ },
+ "JobState": {
+ "type": "string",
+ "title": "The state of the Job.",
+ "enum": [
+ "active",
+ "disabling",
+ "disabled",
+ "enabling",
+ "terminating",
+ "completed",
+ "deleting"
+ ],
+ "x-ms-enum": {
+ "name": "JobState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "active",
+ "description": "The Job is available to have Tasks scheduled."
+ },
+ {
+ "value": "disabling",
+ "description": "A user has requested that the Job be disabled, but the disable operation is still in progress (for example, waiting for Tasks to terminate)."
+ },
+ {
+ "value": "disabled",
+ "description": "A user has disabled the Job. No Tasks are running, and no new Tasks will be scheduled."
+ },
+ {
+ "value": "enabling",
+ "description": "A user has requested that the Job be enabled, but the enable operation is still in progress."
+ },
+ {
+ "value": "terminating",
+ "description": "The Job is about to complete, either because a Job Manager Task has completed or because the user has terminated the Job, but the terminate operation is still in progress (for example, because Job Release Tasks are running)."
+ },
+ {
+ "value": "completed",
+ "description": "All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job."
+ },
+ {
+ "value": "deleting",
+ "description": "A user has requested that the Job be deleted, but the delete operation is still in progress (for example, because the system is still terminating running Tasks)."
+ }
+ ]
+ }
+ },
+ "OnAllTasksComplete": {
+ "type": "string",
+ "title": "The action the Batch service should take when all Tasks in the Job are in the completed state.",
+ "enum": [
+ "noaction",
+ "terminatejob"
+ ],
+ "x-ms-enum": {
+ "name": "OnAllTasksComplete",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "noaction",
+ "description": "Do nothing. The Job remains active unless terminated or disabled by some other means.",
+ "name": "noAction"
+ },
+ {
+ "value": "terminatejob",
+ "description": "Terminate the Job. The Job's terminateReason is set to 'AllTasksComplete'.",
+ "name": "terminateJob"
+ }
+ ]
+ }
+ },
+ "OnTaskFailure": {
+ "type": "string",
+ "title": "The action the Batch service should take when any Task in the Job fails.",
+ "description": "A Task is considered to have failed if has a failureInfo. A failureInfo is set if the Task completes with a non-zero exit code after exhausting its retry count, or if there was an error starting the Task, for example due to a resource file download error. The default is noaction.",
+ "enum": [
+ "noaction",
+ "performexitoptionsjobaction"
+ ],
+ "x-ms-enum": {
+ "name": "OnTaskFailure",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "noaction",
+ "description": "Do nothing. The Job remains active unless terminated or disabled by some other means.",
+ "name": "noAction"
+ },
+ {
+ "value": "performexitoptionsjobaction",
+ "description": "Take the action associated with the Task exit condition in the Task's exitConditions collection. (This may still result in no action being taken, if that is what the Task specifies.)",
+ "name": "performExitOptionsJobAction"
+ }
+ ]
+ }
+ },
+ "ErrorCategory": {
+ "type": "string",
+ "title": "The category of the error.",
+ "enum": [
+ "usererror",
+ "servererror"
+ ],
+ "x-ms-enum": {
+ "name": "ErrorCategory",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "usererror",
+ "description": "The error is due to a user issue, such as misconfiguration.",
+ "name": "userError"
+ },
+ {
+ "value": "servererror",
+ "description": "The error is due to an internal server issue.",
+ "name": "serverError"
+ }
+ ]
+ }
+ },
+ "TaskState": {
+ "type": "string",
+ "title": "The state of the Task.",
+ "enum": [
+ "active",
+ "preparing",
+ "running",
+ "completed"
+ ],
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "active",
+ "description": "The Task is queued and able to run, but is not currently assigned to a Compute Node. A Task enters this state when it is created, when it is enabled after being disabled, or when it is awaiting a retry after a failed run."
+ },
+ {
+ "value": "preparing",
+ "description": "The Task has been assigned to a Compute Node, but is waiting for a required Job Preparation Task to complete on the Compute Node. If the Job Preparation Task succeeds, the Task will move to running. If the Job Preparation Task fails, the Task will return to active and will be eligible to be assigned to a different Compute Node."
+ },
+ {
+ "value": "running",
+ "description": "The Task is running on a Compute Node. This includes task-level preparation such as downloading resource files or deploying Packages specified on the Task - it does not necessarily mean that the Task command line has started executing."
+ },
+ {
+ "value": "completed",
+ "description": "The Task is no longer eligible to run, usually because the Task has finished successfully, or the Task has finished unsuccessfully and has exhausted its retry limit. A Task is also marked as completed if an error occurred launching the Task, or when the Task has been terminated."
+ }
+ ]
+ }
+ },
+ "SubtaskState": {
+ "type": "string",
+ "title": "The state of the subtask.",
+ "enum": [
+ "preparing",
+ "running",
+ "completed"
+ ],
+ "x-ms-enum": {
+ "name": "SubtaskState",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "preparing",
+ "description": "The Task has been assigned to a Compute Node, but is waiting for a required Job Preparation Task to complete on the Compute Node. If the Job Preparation Task succeeds, the Task will move to running. If the Job Preparation Task fails, the Task will return to active and will be eligible to be assigned to a different Compute Node."
+ },
+ {
+ "value": "running",
+ "description": "The Task is running on a Compute Node. This includes task-level preparation such as downloading resource files or deploying Packages specified on the Task - it does not necessarily mean that the Task command line has started executing."
+ },
+ {
+ "value": "completed",
+ "description": "The Task is no longer eligible to run, usually because the Task has finished successfully, or the Task has finished unsuccessfully and has exhausted its retry limit. A Task is also marked as completed if an error occurred launching the Task, or when the Task has been terminated."
+ }
+ ]
+ }
+ },
+ "ComputeNodeDeallocationOption": {
+ "type": "string",
+ "title": "Determines what to do with a Compute Node and its running task(s) after it has been selected for deallocation.",
+ "description": "The default value is requeue.",
+ "enum": [
+ "requeue",
+ "terminate",
+ "taskcompletion",
+ "retaineddata"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeNodeDeallocationOption",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "requeue",
+ "description": "Terminate running Task processes and requeue the Tasks. The Tasks will run again when a Compute Node is available. Remove Compute Nodes as soon as Tasks have been terminated."
+ },
+ {
+ "value": "terminate",
+ "description": "Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove Compute Nodes as soon as Tasks have been terminated."
+ },
+ {
+ "value": "taskcompletion",
+ "description": "Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Remove Compute Nodes when all Tasks have completed.",
+ "name": "taskCompletion"
+ },
+ {
+ "value": "retaineddata",
+ "description": "Allow currently running Tasks to complete, then wait for all Task data retention periods to expire. Schedule no new Tasks while waiting. Remove Compute Nodes when all Task retention periods have expired.",
+ "name": "retainedData"
+ }
+ ]
+ }
+ },
+ "OutputFileUploadCondition": {
+ "type": "string",
+ "title": "The conditions under which a Task output file or set of files should be uploaded.",
+ "enum": [
+ "tasksuccess",
+ "taskfailure",
+ "taskcompletion"
+ ],
+ "x-ms-enum": {
+ "name": "OutputFileUploadCondition",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "tasksuccess",
+ "description": "Upload the file(s) only after the Task process exits with an exit code of 0.",
+ "name": "taskSuccess"
+ },
+ {
+ "value": "taskfailure",
+ "description": "Upload the file(s) only after the Task process exits with a nonzero exit code.",
+ "name": "taskFailure"
+ },
+ {
+ "value": "taskcompletion",
+ "description": "Upload the file(s) after the Task process exits, no matter what the exit code was.",
+ "name": "taskCompletion"
+ }
+ ]
+ }
+ },
+ "TaskExecutionResult": {
+ "type": "string",
+ "title": "The result of Task execution.",
+ "enum": [
+ "success",
+ "failure"
+ ],
+ "x-ms-enum": {
+ "name": "TaskExecutionResult",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "success",
+ "description": "The Task ran successfully.",
+ "name": "success"
+ },
+ {
+ "value": "failure",
+ "description": "There was an error during processing of the Task. The failure may have occurred before the Task process was launched, while the Task process was executing, or after the Task process exited.",
+ "name": "failure"
+ }
+ ]
+ }
+ },
+ "InboundEndpointProtocol": {
+ "type": "string",
+ "title": "The protocol of the endpoint.",
+ "enum": [
+ "tcp",
+ "udp"
+ ],
+ "x-ms-enum": {
+ "name": "InboundEndpointProtocol",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "tcp",
+ "description": "Use TCP for the endpoint.",
+ "name": "tcp"
+ },
+ {
+ "value": "udp",
+ "description": "Use UDP for the endpoint.",
+ "name": "udp"
+ }
+ ]
+ }
+ },
+ "UploadBatchServiceLogsConfiguration": {
+ "properties": {
+ "containerUrl": {
+ "type": "string",
+ "title": "The URL of the container within Azure Blob Storage to which to upload the Batch Service log file(s).",
+ "description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container. The SAS duration must allow enough time for the upload to finish. The start time for SAS is optional and recommended to not be specified."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The start of the time range from which to upload Batch Service log file(s).",
+ "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."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "title": "The end of the time range from which to upload Batch Service log file(s).",
+ "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"
+ ],
+ "title": "The Azure Batch service log files upload configuration for a Compute Node."
+ },
+ "UploadBatchServiceLogsResult": {
+ "properties": {
+ "virtualDirectoryName": {
+ "type": "string",
+ "title": "The virtual directory within Azure Blob Storage container to which the Batch Service log file(s) will be uploaded.",
+ "description": "The virtual directory name is part of the blob name for each log file uploaded, and it is built based poolId, nodeId and a unique identifier."
+ },
+ "numberOfFilesUploaded": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of log files which will be uploaded."
+ }
+ },
+ "required": [
+ "virtualDirectoryName",
+ "numberOfFilesUploaded"
+ ],
+ "title": "The result of uploading Batch service log files from a specific Compute Node."
+ },
+ "PoolNodeCountsListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PoolNodeCounts"
+ },
+ "description": "A list of Compute Node counts by Pool."
+ },
+ "odata.nextLink": {
+ "type": "string",
+ "title": "The URL to get the next set of results."
+ }
+ },
+ "title": "The result of listing the Compute Node counts in the Account."
+ },
+ "PoolNodeCounts": {
+ "properties": {
+ "poolId": {
+ "type": "string",
+ "title": "The ID of the Pool."
+ },
+ "dedicated": {
+ "$ref": "#/definitions/NodeCounts",
+ "title": "The number of dedicated Compute Nodes in each state."
+ },
+ "lowPriority": {
+ "$ref": "#/definitions/NodeCounts",
+ "title": "The number of low priority Compute Nodes in each state."
+ }
+ },
+ "required": [
+ "poolId"
+ ],
+ "title": "The number of Compute Nodes in each state for a Pool."
+ },
+ "NodeCounts": {
+ "properties": {
+ "creating": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the creating state."
+ },
+ "idle": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the idle state."
+ },
+ "offline": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the offline state."
+ },
+ "preempted": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the preempted state."
+ },
+ "rebooting": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The count of Compute Nodes in the rebooting state."
+ },
+ "reimaging": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the reimaging state."
+ },
+ "running": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the running state."
+ },
+ "starting": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the starting state."
+ },
+ "startTaskFailed": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the startTaskFailed state."
+ },
+ "leavingPool": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the leavingPool state."
+ },
+ "unknown": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the unknown state."
+ },
+ "unusable": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the unusable state."
+ },
+ "waitingForStartTask": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The number of Compute Nodes in the waitingForStartTask state."
+ },
+ "total": {
+ "type": "integer",
+ "format": "int32",
+ "title": "The total number of Compute Nodes."
+ }
+ },
+ "required": [
+ "creating",
+ "idle",
+ "offline",
+ "preempted",
+ "rebooting",
+ "reimaging",
+ "running",
+ "starting",
+ "startTaskFailed",
+ "leavingPool",
+ "unknown",
+ "unusable",
+ "waitingForStartTask",
+ "total"
+ ],
+ "title": "The number of Compute Nodes in each Compute Node state."
+ },
+ "MountConfiguration": {
+ "properties": {
+ "azureBlobFileSystemConfiguration": {
+ "$ref": "#/definitions/AzureBlobFileSystemConfiguration",
+ "title": "The Azure Storage container to mount using blob FUSE on each node.",
+ "description": "This property is mutually exclusive with all other properties."
+ },
+ "nfsMountConfiguration": {
+ "$ref": "#/definitions/NFSMountConfiguration",
+ "title": "The NFS file system to mount on each node.",
+ "description": "This property is mutually exclusive with all other properties."
+ },
+ "cifsMountConfiguration": {
+ "$ref": "#/definitions/CIFSMountConfiguration",
+ "title": "The CIFS/SMB file system to mount on each node.",
+ "description": "This property is mutually exclusive with all other properties."
+ },
+ "azureFileShareConfiguration": {
+ "$ref": "#/definitions/AzureFileShareConfiguration",
+ "title": "The Azure File Share to mount on each node.",
+ "description": "This is CIFS based for linux and net use for for windows, and this property is mutually exclusive with all other properties."
+ }
+ },
+ "title": "The file system to mount on each node.",
+ "description": "Each property is mutually exclusive."
+ },
+ "AzureBlobFileSystemConfiguration": {
+ "properties": {
+ "accountName": {
+ "type": "string",
+ "title": "The Azure Storage account name."
+ },
+ "containerName": {
+ "type": "string",
+ "title": "The Azure Blob Storage container name."
+ },
+ "accountKey": {
+ "type": "string",
+ "title": "The Azure Storage account key.",
+ "description": "This property is mutually exclusive with sasKey and one must be specified."
+ },
+ "sasKey": {
+ "type": "string",
+ "title": "The Azure Storage SAS token.",
+ "description": "This property is mutually exclusive with accountKey and one must be specified."
+ },
+ "blobfuseOptions": {
+ "type": "string",
+ "title": "Additional command line options to pass to the mount command.",
+ "description": "These are 'net use' options in Windows and 'mount' options in Linux."
+ },
+ "relativeMountPath": {
+ "type": "string",
+ "title": "The relative path on the compute node where the file system will be mounted",
+ "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable."
+ }
+ },
+ "required": [
+ "accountName",
+ "containerName",
+ "relativeMountPath"
+ ],
+ "title": "Blobfuse file system details."
+ },
+ "NFSMountConfiguration": {
+ "properties": {
+ "source": {
+ "type": "string",
+ "title": "The URI of the file system to mount."
+ },
+ "relativeMountPath": {
+ "type": "string",
+ "title": "The relative path on the compute node where the file system will be mounted",
+ "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable."
+ },
+ "mountOptions": {
+ "type": "string",
+ "title": "Specifies various mount options that can be used."
+ }
+ },
+ "required": [
+ "source",
+ "relativeMountPath"
+ ],
+ "title": "NFS file system detail."
+ },
+ "CIFSMountConfiguration": {
+ "properties": {
+ "username": {
+ "type": "string",
+ "title": "The user to use for authentication against the CIFS file system."
+ },
+ "source": {
+ "type": "string",
+ "title": "The URI of the file system to mount."
+ },
+ "relativeMountPath": {
+ "type": "string",
+ "title": "The relative path on the compute node where the file system will be mounted",
+ "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable."
+ },
+ "mountOptions": {
+ "type": "string",
+ "title": "Specifies various mount options that can be used."
+ },
+ "password": {
+ "type": "string",
+ "title": "The password to authenticate with."
+ }
+ },
+ "required": [
+ "username",
+ "source",
+ "password",
+ "relativeMountPath"
+ ],
+ "title": "CIFS file system details."
+ },
+ "AzureFileShareConfiguration": {
+ "properties": {
+ "accountName": {
+ "type": "string",
+ "title": "The Azure Storage account name."
+ },
+ "azureFileUrl": {
+ "type": "string",
+ "title": "The Azure Files URL."
+ },
+ "accountKey": {
+ "type": "string",
+ "title": "The Azure Storage account key."
+ },
+ "relativeMountPath": {
+ "type": "string",
+ "title": "The relative path on the compute node where the file system will be mounted",
+ "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable."
+ },
+ "mountOptions": {
+ "type": "string",
+ "title": "Specifies various mount options that can be used."
+ }
+ },
+ "required": [
+ "accountName",
+ "azureFileUrl",
+ "accountKey",
+ "relativeMountPath"
+ ],
+ "title": "Azure Files details."
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client API Version."
+ },
+ "batchUrl": {
+ "name": "batchUrl",
+ "x-ms-parameter-location": "client",
+ "required": true,
+ "type": "string",
+ "in": "path",
+ "x-ms-skip-url-encoding": true,
+ "description": "The base URL for all Azure Batch service requests."
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListPoolNodeCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListPoolNodeCounts.json
new file mode 100644
index 000000000000..4591aa187647
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListPoolNodeCounts.json
@@ -0,0 +1,121 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "poolId": "pool1",
+ "dedicated": {
+ "creating": 0,
+ "idle": 0,
+ "leavingPool": 0,
+ "offline": 0,
+ "preempted": 0,
+ "rebooting": 0,
+ "reimaging": 0,
+ "running": 0,
+ "starting": 0,
+ "startTaskFailed": 0,
+ "unknown": 0,
+ "unusable": 0,
+ "waitingForStartTask": 0,
+ "total": 0
+ },
+ "lowPriority": {
+ "creating": 0,
+ "idle": 0,
+ "leavingPool": 0,
+ "offline": 0,
+ "preempted": 0,
+ "rebooting": 0,
+ "reimaging": 0,
+ "running": 2,
+ "starting": 1,
+ "startTaskFailed": 0,
+ "unknown": 0,
+ "unusable": 0,
+ "waitingForStartTask": 0,
+ "total": 3
+ }
+ },
+ {
+ "poolId": "pool2",
+ "dedicated": {
+ "creating": 0,
+ "idle": 1,
+ "leavingPool": 0,
+ "offline": 3,
+ "preempted": 0,
+ "rebooting": 0,
+ "reimaging": 0,
+ "running": 0,
+ "starting": 0,
+ "startTaskFailed": 0,
+ "unknown": 0,
+ "unusable": 0,
+ "waitingForStartTask": 0,
+ "total": 4
+ },
+ "lowPriority": {
+ "creating": 0,
+ "idle": 0,
+ "leavingPool": 0,
+ "offline": 0,
+ "preempted": 0,
+ "rebooting": 0,
+ "reimaging": 0,
+ "running": 0,
+ "starting": 0,
+ "startTaskFailed": 0,
+ "unknown": 0,
+ "unusable": 0,
+ "waitingForStartTask": 0,
+ "total": 0
+ }
+ },
+ {
+ "poolId": "pool3",
+ "dedicated": {
+ "creating": 0,
+ "idle": 5,
+ "leavingPool": 0,
+ "offline": 0,
+ "preempted": 0,
+ "rebooting": 0,
+ "reimaging": 4,
+ "running": 0,
+ "starting": 0,
+ "startTaskFailed": 0,
+ "unknown": 0,
+ "unusable": 0,
+ "waitingForStartTask": 0,
+ "total": 9
+ },
+ "lowPriority": {
+ "creating": 7,
+ "idle": 0,
+ "leavingPool": 0,
+ "offline": 0,
+ "preempted": 0,
+ "rebooting": 0,
+ "reimaging": 0,
+ "running": 4,
+ "starting": 0,
+ "startTaskFailed": 0,
+ "unknown": 0,
+ "unusable": 0,
+ "waitingForStartTask": 0,
+ "total": 11
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListSupportedImages.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListSupportedImages.json
new file mode 100644
index 000000000000..c9e9b87352a7
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/AccountListSupportedImages.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "nodeAgentSKUId": "batch.node.centos 7",
+ "imageReference": {
+ "publisher": "OpenLogic",
+ "offer": "CentOS",
+ "sku": "7.2",
+ "version": "latest"
+ },
+ "verificationType": "verified",
+ "capabilities": [
+ "DockerCompatible",
+ "NvidiaTeslaDriverInstalled"
+ ],
+ "osType": "linux"
+ },
+ {
+ "nodeAgentSKUId": "batch.node.centos 7",
+ "imageReference": {
+ "publisher": "OpenLogic",
+ "offer": "CentOS",
+ "sku": "7.1",
+ "version": "latest"
+ },
+ "verificationType": "unverified",
+ "osType": "linux",
+ "batchSupportEndOfLife": "2019-11-01T00:00:00.0Z"
+ },
+ {
+ "nodeAgentSKUId": "batch.node.debian 8",
+ "imageReference": {
+ "publisher": "Credativ",
+ "offer": "Debian",
+ "sku": "8",
+ "version": "latest"
+ },
+ "verificationType": "verified",
+ "osType": "linux"
+ },
+ {
+ "nodeAgentSKUId": "batch.node.windows amd64",
+ "imageReference": {
+ "publisher": "MicrosoftWindowsServer",
+ "offer": "WindowsServer",
+ "sku": "2012-R2-Datacenter",
+ "version": "latest"
+ },
+ "verificationType": "verified",
+ "osType": "windows"
+ },
+ {
+ "nodeAgentSKUId": "batch.node.windows amd64",
+ "imageReference": {
+ "publisher": "MicrosoftWindowsServer",
+ "offer": "WindowsServer",
+ "sku": "2012-Datacenter",
+ "version": "latest"
+ },
+ "verificationType": "verified",
+ "osType": "windows"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationGet.json
new file mode 100644
index 000000000000..89901c9c19c7
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationGet.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "applicationId": "my_application_id"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "my_application_id",
+ "versions": [
+ "v1.0"
+ ],
+ "displayName": "my_display_name"
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationList.json
new file mode 100644
index 000000000000..4d0c21d32ddf
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/ApplicationList.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "my_application_id",
+ "versions": [
+ "v1.0"
+ ],
+ "displayName": "my_display_name"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateAdd.json
new file mode 100644
index 000000000000..43badf092110
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateAdd.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "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"
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateCancelDelete.json
new file mode 100644
index 000000000000..5a26439110fc
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateCancelDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "thumbprintAlgorithm": "sha1",
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateDelete.json
new file mode 100644
index 000000000000..34c2323fbdd7
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "thumbprintAlgorithm": "sha1",
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateGet.json
new file mode 100644
index 000000000000..8bd190258b81
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateGet.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "thumbprintAlgorithm": "sha1",
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "thumbprintAlgorithm": "sha1",
+ "url": "https://account.region.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=0123456789abcdef0123456789abcdef01234567)",
+ "state": "deletefailed",
+ "stateTransitionTime": "2014-07-31T21:12:58.236Z",
+ "previousState": "deleting",
+ "previousStateTransitionTime": "2014-07-31T21:11:58.236Z",
+ "publicData": "#####...",
+ "deleteCertificateError": {
+ "code": "PoolsReferencingCertificate",
+ "message": "The specified certificate is being used by the below mentioned pool(s)",
+ "values": [
+ {
+ "name": "Pools",
+ "value": "mypool1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateList.json
new file mode 100644
index 000000000000..2b8fa4d5953d
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/CertificateList.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "thumbprintAlgorithm": "sha1",
+ "url": "https://account.region.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=0123456789abcdef0123456789abcdef01234567)",
+ "state": "deletefailed",
+ "stateTransitionTime": "2014-07-31T21:12:58.236Z",
+ "previousState": "deleting",
+ "previousStateTransitionTime": "2014-07-31T21:11:58.236Z",
+ "publicData": "#####...",
+ "deleteCertificateError": {
+ "code": "PoolsReferencingCertificate",
+ "message": "The specified certificate is being used by the below mentioned pool(s)",
+ "values": [
+ {
+ "name": "Pools",
+ "value": "mypool1"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromNode.json
new file mode 100644
index 000000000000..5c4720cb8453
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromNode.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161122t193202z",
+ "filePath": "workitems\\jobId\\job-1\\task1\\wd\\testFile.txt",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "recursive": false
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromTask.json
new file mode 100644
index 000000000000..55f2d73ffa50
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileDeleteFromTask.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "taskId": "task1",
+ "filePath": "wd\\testFile.txt",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "recursive": false
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromNode.json
new file mode 100644
index 000000000000..a955d283a9c4
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromNode.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "nodeId",
+ "filePath": "workitems\\jobId\\job-1\\task1\\wd\\testFile.txt",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "ocp-creation-time": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "ocp-batch-file-isdirectory": "false",
+ "Content-Length": "17",
+ "Content-Type": "application/octet-stream",
+ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromTask.json
new file mode 100644
index 000000000000..5148507c5793
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetFromTask.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "taskId": "task1",
+ "filePath": "wd\\testFile.txt",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "ocp-creation-time": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "ocp-batch-file-isdirectory": "false",
+ "Content-Length": "17",
+ "Content-Type": "application/octet-stream",
+ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromNode.json
new file mode 100644
index 000000000000..aa477636134d
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromNode.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "nodeId",
+ "filePath": "workitems\\jobId\\job-1\\task1\\wd\\testFile.txt",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "ocp-creation-time": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "ocp-batch-file-isdirectory": "false",
+ "Content-Length": "17",
+ "Content-Type": "application/octet-stream"
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromTask.json
new file mode 100644
index 000000000000..009c6529c237
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileGetPropertiesFromTask.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "taskId": "taskId",
+ "filePath": "wd\\testFile.txt",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "ocp-creation-time": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "ocp-batch-file-isdirectory": "false",
+ "Content-Length": "17",
+ "Content-Type": "application/octet-stream"
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromNode.json
new file mode 100644
index 000000000000..3dc350f63a2a
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromNode.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161122t193202z",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "recursive": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "shared",
+ "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_2-20140919t215614z/files/shared",
+ "isDirectory": true
+ },
+ {
+ "name": "startup\\ProcessEnv.cmd",
+ "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_2-20140919t215614z/files/startup\\ProcessEnv.cmd",
+ "isDirectory": false,
+ "properties": {
+ "creationTime": "2014-09-19T21:56:17.679195Z",
+ "lastModified": "2014-09-19T21:56:17.679195Z",
+ "contentLength": 1813,
+ "contentType": "application/octet-stream"
+ }
+ },
+ {
+ "name": "startup\\stderr.txt",
+ "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_2-20140919t215614z/files/startup\\stderr.txt",
+ "isDirectory": false,
+ "properties": {
+ "creationTime": "2014-09-19T21:56:17.5590855Z",
+ "lastModified": "2014-09-19T21:56:17.5590855Z",
+ "contentLength": 0,
+ "contentType": "application/octet-stream"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromTask.json
new file mode 100644
index 000000000000..d9a541a363d1
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/FileListFromTask.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "taskId": "taskId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "recursive": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "startup\\ProcessEnv.cmd",
+ "url": "https://account.region.batch.azure.com/jobs/jobId/tasks/taskId/files/startup\\ProcessEnv.cmd",
+ "isDirectory": false,
+ "properties": {
+ "creationTime": "2014-09-19T21:56:17.679195Z",
+ "lastModified": "2014-09-19T21:56:17.679195Z",
+ "contentLength": 1813,
+ "contentType": "application/octet-stream"
+ }
+ },
+ {
+ "name": "startup\\stderr.txt",
+ "url": "https://account.region.batch.azure.com/jobs/jobId/tasks/taskId/files/startup\\stderr.txt",
+ "isDirectory": false,
+ "properties": {
+ "creationTime": "2014-09-19T21:56:17.5590855Z",
+ "lastModified": "2014-09-19T21:56:17.5590855Z",
+ "contentLength": 0,
+ "contentType": "application/octet-stream"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Basic.json
new file mode 100644
index 000000000000..76a87f08a597
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Basic.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "job": {
+ "id": "jobId",
+ "priority": 0,
+ "poolInfo": {
+ "poolId": "poolId"
+ }
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Complex.json
new file mode 100644
index 000000000000..27c8a480da56
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobAdd_Complex.json
@@ -0,0 +1,120 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "job": {
+ "id": "jobId",
+ "priority": 100,
+ "constraints": {
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
+ },
+ "jobManagerTask": {
+ "id": "taskId",
+ "commandLine": "myprogram.exe",
+ "resourceFiles": [
+ {
+ "httpUrl": "http://mystorage1.blob.core.windows.net/scripts/myprogram.exe?sas",
+ "filePath": "myprogram.exe"
+ },
+ {
+ "storageContainerUrl": "http://mystorage1.blob.core.windows.net/data?sas",
+ "filePath": "datafolder"
+ }
+ ],
+ "environmentSettings": [
+ {
+ "name": "myvariable",
+ "value": "myvalue"
+ }
+ ],
+ "constraints": {
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": 0,
+ "retentionTime": "PT1H"
+ },
+ "killJobOnCompletion": false,
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "admin"
+ }
+ },
+ "runExclusive": true
+ },
+ "poolInfo": {
+ "autoPoolSpecification": {
+ "autoPoolIdPrefix": "mypool",
+ "poolLifetimeOption": "job",
+ "pool": {
+ "vmSize": "small",
+ "cloudServiceConfiguration": {
+ "osFamily": "4",
+ "osVersion": "*"
+ },
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 3,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 2,
+ "taskSchedulingPolicy": {
+ "nodeFillType": "spread"
+ },
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "startTask": {
+ "commandLine": "myprogram2.exe",
+ "resourceFiles": [
+ {
+ "httpUrl": "http://mystorage1.blob.core.windows.net/scripts/myprogram2.exe?sas",
+ "filePath": "myprogram2.exe"
+ }
+ ],
+ "environmentSettings": [
+ {
+ "name": "myvariable",
+ "value": "myvalue"
+ }
+ ],
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "admin"
+ }
+ },
+ "maxTaskRetryCount": 2,
+ "waitForSuccess": true
+ },
+ "certificateReferences": [
+ {
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "thumbprintAlgorithm": "sha1",
+ "storeLocation": "localmachine",
+ "storeName": "Root",
+ "visibility": [
+ "task"
+ ]
+ }
+ ],
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
+ }
+ }
+ },
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDelete.json
new file mode 100644
index 000000000000..efb88cc5bcce
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDisable.json
new file mode 100644
index 000000000000..d2376477bfba
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobDisable.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "jobDisableParameter": {
+ "disableTasks": "terminate"
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobEnable.json
new file mode 100644
index 000000000000..efb88cc5bcce
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobEnable.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGet.json
new file mode 100644
index 000000000000..ac721666ba78
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGet.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "jobId",
+ "url": "https://account.region.batch.azure.com/jobs/jobId",
+ "eTag": "0x8D4100FC49F0278",
+ "lastModified": "2016-11-19T00:05:27.5391608Z",
+ "creationTime": "2016-11-19T00:05:25.311915Z",
+ "state": "completed",
+ "stateTransitionTime": "2016-11-19T00:05:27.578581Z",
+ "previousState": "active",
+ "previousStateTransitionTime": "2016-11-19T00:05:27.2137716Z",
+ "priority": 0,
+ "usesTaskDependencies": false,
+ "constraints": {
+ "maxWallClockTime": "P10675199DT2H48M5.4775807S",
+ "maxTaskRetryCount": 0
+ },
+ "poolInfo": {
+ "poolId": "poolId"
+ },
+ "executionInfo": {
+ "startTime": "2016-11-19T00:05:25.3309105Z",
+ "endTime": "2016-11-19T00:05:27.578581Z",
+ "poolId": "poolId",
+ "terminateReason": "UserTerminate"
+ },
+ "onAllTasksComplete": "noaction",
+ "onTaskFailure": "noaction"
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetLifetimeStatistics.json
new file mode 100644
index 000000000000..405a2ee392bf
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetLifetimeStatistics.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "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",
+ "kernelCPUTime": "PT0S",
+ "wallClockTime": "PT0S",
+ "readIOps": 0,
+ "writeIOps": 0,
+ "readIOGiB": 10.0,
+ "writeIOGiB": 5.0,
+ "numSucceededTasks": 0,
+ "numFailedTasks": 0,
+ "numTaskRetries": 0,
+ "waitTime": "PT0S"
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetTaskCounts.json
new file mode 100644
index 000000000000..89a798fb0fef
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobGetTaskCounts.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "active": 5,
+ "running": 7,
+ "completed": 4,
+ "succeeded": 2,
+ "failed": 2
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobList.json
new file mode 100644
index 000000000000..4140ad069687
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobList.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "jobId",
+ "url": "https://account.region.batch.azure.com/jobs/jobId",
+ "eTag": "0x8D4100FC46D5BF4",
+ "lastModified": "2016-11-19T00:05:27.2137716Z",
+ "creationTime": "2016-11-19T00:05:25.311915Z",
+ "state": "active",
+ "stateTransitionTime": "2016-11-19T00:05:27.2137716Z",
+ "previousState": "disabled",
+ "previousStateTransitionTime": "2016-11-19T00:05:26.88777Z",
+ "priority": 0,
+ "usesTaskDependencies": false,
+ "constraints": {
+ "maxWallClockTime": "P10675199DT2H48M5.4775807S",
+ "maxTaskRetryCount": 0
+ },
+ "poolInfo": {
+ "poolId": "poolId"
+ },
+ "executionInfo": {
+ "startTime": "2016-11-19T00:05:25.3309105Z",
+ "poolId": "poolId"
+ },
+ "onAllTasksComplete": "noaction",
+ "onTaskFailure": "noaction"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListFromJobSchedule.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListFromJobSchedule.json
new file mode 100644
index 000000000000..853ce5b6796b
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListFromJobSchedule.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobScheduleId": "jobScheduleId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "jobId",
+ "url": "https://account.region.batch.azure.com/jobs/jobId",
+ "eTag": "0x8D4100FC46D5BF4",
+ "lastModified": "2016-11-19T00:05:27.2137716Z",
+ "creationTime": "2016-11-19T00:05:25.311915Z",
+ "state": "active",
+ "stateTransitionTime": "2016-11-19T00:05:27.2137716Z",
+ "previousState": "disabled",
+ "previousStateTransitionTime": "2016-11-19T00:05:26.88777Z",
+ "priority": 0,
+ "usesTaskDependencies": false,
+ "constraints": {
+ "maxWallClockTime": "P10675199DT2H48M5.4775807S",
+ "maxTaskRetryCount": 0
+ },
+ "poolInfo": {
+ "poolId": "poolId"
+ },
+ "executionInfo": {
+ "startTime": "2016-11-19T00:05:25.3309105Z",
+ "poolId": "poolId"
+ },
+ "onAllTasksComplete": "noaction",
+ "onTaskFailure": "noaction"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListPreparationAndReleaseTaskStatus.json
new file mode 100644
index 000000000000..dc89f6b51890
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobListPreparationAndReleaseTaskStatus.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "poolId": "poolId",
+ "nodeId": "tvm-2167304207_1-20140905t174658z",
+ "nodeUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_1-20140905t174658z",
+ "jobPreparationTaskExecutionInfo": {
+ "state": "completed",
+ "startTime": "2015-05-01T10:20:31Z",
+ "endTime": "2015-05-02T20:12:42Z",
+ "taskRootDirectory": "tasks/myjob/job-1/myjobpreptask",
+ "taskRootDirectoryUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_1-20140905t174658z/files/tasks/myjob/job-1/myjobpreptask",
+ "exitCode": 0,
+ "retryCount": 0
+ },
+ "jobReleaseTaskExecutionInfo": {
+ "state": "completed",
+ "startTime": "2015-05-01T10:20:31Z",
+ "endTime": "2015-05-02T20:12:42Z",
+ "taskRootDirectory": "tasks/myjob/job-1/myjobreleasetask",
+ "taskRootDirectoryUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2167304207_1-20140905t174658z/files/tasks/myjob/job-1/myjobreleasetask",
+ "exitCode": 0
+ }
+ }
+ ],
+ "odata.nextLink": "https://account.region.batch.azure.com/jobs/myjob/jobpreparationandreleasestatus?$skipToken=tvm-2167304207_1-20140905t174658z&api-version=2019-08-01.10.0"
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobPatch.json
new file mode 100644
index 000000000000..e7f50e034ed8
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobPatch.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "jobPatchParameter": {
+ "priority": 100,
+ "constraints": {
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
+ },
+ "poolInfo": {
+ "poolId": "poolId"
+ }
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Basic.json
new file mode 100644
index 000000000000..54ea9a95fd66
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Basic.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "cloudJobSchedule": {
+ "id": "jobScheduleId",
+ "schedule": {
+ "recurrenceInterval": "PT5M"
+ },
+ "jobSpecification": {
+ "poolInfo": {
+ "poolId": "poolId"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Complex.json
new file mode 100644
index 000000000000..d22f1b0dd441
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleAdd_Complex.json
@@ -0,0 +1,128 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "cloudJobSchedule": {
+ "id": "jobScheduleId",
+ "schedule": {
+ "doNotRunUntil": "2014-09-10T02:30:00.000Z",
+ "doNotRunAfter": "2014-09-10T06:30:00.000Z",
+ "startWindow": "PT1M",
+ "recurrenceInterval": "PT5M"
+ },
+ "jobSpecification": {
+ "priority": 100,
+ "constraints": {
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
+ },
+ "jobManagerTask": {
+ "id": "mytask1",
+ "commandLine": "myprogram.exe",
+ "resourceFiles": [
+ {
+ "httpUrl": "http://mystorage1.blob.core.windows.net/scripts/myprogram.exe?sas",
+ "filePath": "myprogram.exe"
+ },
+ {
+ "httpUrl": "http://mystorage1.blob.core.windows.net/scripts/test.txt?sas",
+ "filePath": "test.txt"
+ }
+ ],
+ "environmentSettings": [
+ {
+ "name": "myvariable",
+ "value": "myvalue"
+ }
+ ],
+ "constraints": {
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": 0,
+ "retentionTime": "PT1H"
+ },
+ "killJobOnCompletion": true,
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ },
+ "runExclusive": true
+ },
+ "poolInfo": {
+ "autoPoolSpecification": {
+ "autoPoolIdPrefix": "mypool",
+ "poolLifetimeOption": "jobschedule",
+ "pool": {
+ "vmSize": "small",
+ "cloudServiceConfiguration": {
+ "osFamily": "4",
+ "osVersion": "*"
+ },
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 3,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 2,
+ "taskSchedulingPolicy": {
+ "nodeFillType": "spread"
+ },
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "startTask": {
+ "commandLine": "myprogram2.exe",
+ "resourceFiles": [
+ {
+ "httpUrl": "http://mystorage1.blob.core.windows.net/scripts/myprogram2.exe?sas",
+ "filePath": "myprogram2.exe"
+ }
+ ],
+ "environmentSettings": [
+ {
+ "name": "myvariable",
+ "value": "myvalue"
+ }
+ ],
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "admin"
+ }
+ },
+ "maxTaskRetryCount": 2,
+ "waitForSuccess": true
+ },
+ "certificateReferences": [
+ {
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "thumbprintAlgorithm": "sha1",
+ "storeLocation": "localmachine",
+ "storeName": "Root",
+ "visibility": [
+ "task"
+ ]
+ }
+ ],
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDelete.json
new file mode 100644
index 000000000000..61b57238375c
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobScheduleId": "jobScheduleId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDisable.json
new file mode 100644
index 000000000000..2dd14a6aac6f
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleDisable.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobScheduleId": "jobScheduleId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleEnable.json
new file mode 100644
index 000000000000..2dd14a6aac6f
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleEnable.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobScheduleId": "jobScheduleId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleExists.json
new file mode 100644
index 000000000000..f41f1c884c0d
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleExists.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobScheduleId": "jobScheduleId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {},
+ "404": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleGet.json
new file mode 100644
index 000000000000..382699ea5393
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleGet.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobScheduleId": "jobScheduleId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "jobScheduleId",
+ "url": "https://account.region.batch.azure.com/jobschedules/jobScheduleId",
+ "eTag": "0x8D40FFD2E848323",
+ "lastModified": "2016-11-18T21:52:24.7661347Z",
+ "creationTime": "2016-11-18T21:52:22.5431125Z",
+ "state": "completed",
+ "stateTransitionTime": "2016-11-18T21:52:24.8371778Z",
+ "previousState": "active",
+ "previousStateTransitionTime": "2016-11-18T21:52:24.0064874Z",
+ "jobSpecification": {
+ "priority": 0,
+ "usesTaskDependencies": false,
+ "onAllTasksComplete": "noaction",
+ "onTaskFailure": "noaction",
+ "constraints": {
+ "maxWallClockTime": "P10675199DT2H48M5.4775807S",
+ "maxTaskRetryCount": 0
+ },
+ "poolInfo": {
+ "poolId": "testPool"
+ }
+ },
+ "executionInfo": {
+ "recentJob": {
+ "url": "https://account.region.batch.azure.com/jobschedules/jobScheduleId:job-1",
+ "id": "jobScheduleId:job-1"
+ },
+ "endTime": "2016-11-18T21:52:24.8371778Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleList.json
new file mode 100644
index 000000000000..2d4874c0029f
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleList.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "jobSchedule1",
+ "url": "https://account.region.batch.azure.com/jobschedules/jobSchedule1",
+ "eTag": "0x8D40FFD2E10996A",
+ "lastModified": "2016-11-18T21:52:24.0064874Z",
+ "creationTime": "2016-11-18T21:52:22.5431125Z",
+ "state": "active",
+ "stateTransitionTime": "2016-11-18T21:52:24.0064874Z",
+ "previousState": "disabled",
+ "previousStateTransitionTime": "2016-11-18T21:52:23.6471782Z",
+ "jobSpecification": {
+ "priority": 0,
+ "usesTaskDependencies": false,
+ "onAllTasksComplete": "noaction",
+ "onTaskFailure": "noaction",
+ "constraints": {
+ "maxWallClockTime": "P10675199DT2H48M5.4775807S",
+ "maxTaskRetryCount": 0
+ },
+ "poolInfo": {
+ "poolId": "poolId"
+ }
+ },
+ "executionInfo": {
+ "recentJob": {
+ "url": "https://account.region.batch.azure.com/jobs/jobSchedule1:job-1",
+ "id": "jobSchedule1:job-1"
+ }
+ }
+ },
+ {
+ "id": "jobSchedule2",
+ "url": "https://account.region.batch.azure.com/jobschedules/jobSchedule2",
+ "eTag": "0x8D40FFCFF760B51",
+ "lastModified": "2016-11-18T21:51:05.8184017Z",
+ "creationTime": "2016-11-18T21:51:05.8184017Z",
+ "state": "active",
+ "stateTransitionTime": "2016-11-18T21:51:05.8184017Z",
+ "schedule": {
+ "doNotRunUntil": "2020-01-01T12:30:00Z"
+ },
+ "jobSpecification": {
+ "priority": 0,
+ "usesTaskDependencies": false,
+ "onAllTasksComplete": "noaction",
+ "onTaskFailure": "noaction",
+ "constraints": {
+ "maxWallClockTime": "P10675199DT2H48M5.4775807S",
+ "maxTaskRetryCount": 0
+ },
+ "poolInfo": {
+ "poolId": "testPool2"
+ }
+ },
+ "executionInfo": {
+ "nextRunTime": "2020-01-01T12:30:00Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobSchedulePatch.json
new file mode 100644
index 000000000000..9d21bbb7e022
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobSchedulePatch.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobScheduleId": "jobScheduleId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "jobSchedulePatchParameter": {
+ "schedule": {
+ "doNotRunUntil": "2025-01-01T12:30:00Z"
+ },
+ "jobSpecification": {
+ "priority": 0,
+ "usesTaskDependencies": false,
+ "constraints": {
+ "maxWallClockTime": "P10675199DT2H48M5.4775807S",
+ "maxTaskRetryCount": 0
+ },
+ "poolInfo": {
+ "poolId": "poolId"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleTerminate.json
new file mode 100644
index 000000000000..61b57238375c
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleTerminate.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobScheduleId": "jobScheduleId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleUpdate.json
new file mode 100644
index 000000000000..4381edba20ed
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobScheduleUpdate.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobScheduleId": "jobScheduleId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "jobScheduleUpdateParameter": {
+ "schedule": {
+ "doNotRunUntil": "2025-01-01T12:30:00Z"
+ },
+ "jobSpecification": {
+ "priority": 0,
+ "usesTaskDependencies": false,
+ "constraints": {
+ "maxWallClockTime": "P10675199DT2H48M5.4775807S",
+ "maxTaskRetryCount": 0
+ },
+ "poolInfo": {
+ "poolId": "poolId"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobTerminate.json
new file mode 100644
index 000000000000..9ce95c08e928
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobTerminate.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "jobTerminateParameter": {
+ "terminateReason": "User supplied termination reason"
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobUpdate.json
new file mode 100644
index 000000000000..92f88f370163
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/JobUpdate.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "jobUpdateParameter": {
+ "priority": 100,
+ "constraints": {
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
+ },
+ "poolInfo": {
+ "poolId": "poolId"
+ }
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeAddUser.json
new file mode 100644
index 000000000000..2dbcb39a090b
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeAddUser.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161121t182739z",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "user": {
+ "name": "userName",
+ "isAdmin": false,
+ "expiryTime": "2017-08-01T00:00:00Z",
+ "password": "Password"
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDeleteUser.json
new file mode 100644
index 000000000000..9c3c0d2bf201
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDeleteUser.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161121t182739z",
+ "userName": "userName",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDisableScheduling.json
new file mode 100644
index 000000000000..4b965fcaa5e1
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeDisableScheduling.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161122t193202z",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "nodeDisableSchedulingParameter": {
+ "nodeDisableSchedulingOption": "terminate"
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeEnableScheduling.json
new file mode 100644
index 000000000000..7b9607e580a4
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeEnableScheduling.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161122t193202z",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteDesktop.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteDesktop.json
new file mode 100644
index 000000000000..3819b9de0358
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteDesktop.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161121t182739z",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteLoginSettings.json
new file mode 100644
index 000000000000..ce99ea41c920
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGetRemoteLoginSettings.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161121t182739z",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "remoteLoginIPAddress": "1.1.1.1",
+ "remoteLoginPort": 50000
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGet_Basic.json
new file mode 100644
index 000000000000..72b9ea4f00c2
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeGet_Basic.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_2-20161122t193202z",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "tvm-1695681911_2-20161122t193202z",
+ "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-1695681911_2-20161122t193202z",
+ "state": "idle",
+ "schedulingState": "enabled",
+ "stateTransitionTime": "2016-11-22T19:37:31.4285526Z",
+ "lastBootTime": "2016-11-22T19:37:28.623369Z",
+ "allocationTime": "2016-11-22T19:32:02.8155319Z",
+ "ipAddress": "1.1.1.1",
+ "affinityId": "TVM:tvm-1695681911_2-20161122t193202z",
+ "vmSize": "small",
+ "totalTasksRun": 0,
+ "totalTasksSucceeded": 0,
+ "runningTasksCount": 0,
+ "isDedicated": true,
+ "startTask": {
+ "commandLine": "cmd /c echo hello",
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ },
+ "maxTaskRetryCount": 0,
+ "waitForSuccess": false
+ },
+ "startTaskInfo": {
+ "state": "completed",
+ "startTime": "2016-11-22T19:37:31.4285526Z",
+ "endTime": "2016-11-22T19:37:31.838028Z",
+ "exitCode": 0,
+ "retryCount": 0
+ },
+ "nodeAgentInfo": {
+ "version": "1.2.0.0",
+ "lastUpdateTime": "2016-11-22T19:37:28.623369Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeList.json
new file mode 100644
index 000000000000..b37e956fc4fe
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeList.json
@@ -0,0 +1,131 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "tvm-1695681911_1-20161122t193202z",
+ "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-1695681911_1-20161122t193202z",
+ "state": "idle",
+ "schedulingState": "enabled",
+ "stateTransitionTime": "2016-11-22T22:22:27.2236818Z",
+ "lastBootTime": "2016-11-22T22:22:24.4634125Z",
+ "allocationTime": "2016-11-22T19:32:02.8155319Z",
+ "ipAddress": "1.1.1.1",
+ "affinityId": "TVM:tvm-1695681911_1-20161122t193202z",
+ "vmSize": "small",
+ "totalTasksRun": 0,
+ "totalTasksSucceeded": 0,
+ "runningTasksCount": 0,
+ "isDedicated": true,
+ "startTask": {
+ "commandLine": "cmd /c echo hello",
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ },
+ "maxTaskRetryCount": 0,
+ "waitForSuccess": false
+ },
+ "startTaskInfo": {
+ "state": "completed",
+ "startTime": "2016-11-22T22:22:27.2236818Z",
+ "endTime": "2016-11-22T22:22:27.567189Z",
+ "exitCode": 0,
+ "retryCount": 0
+ },
+ "nodeAgentInfo": {
+ "version": "1.2.0.0",
+ "lastUpdateTime": "2016-11-22T22:22:24.4634125Z"
+ }
+ },
+ {
+ "id": "tvm-1695681911_2-20161122t193202z",
+ "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-1695681911_2-20161122t193202z",
+ "state": "idle",
+ "schedulingState": "enabled",
+ "stateTransitionTime": "2016-11-22T19:37:31.4285526Z",
+ "lastBootTime": "2016-11-22T19:37:28.623369Z",
+ "allocationTime": "2016-11-22T19:32:02.8155319Z",
+ "ipAddress": "1.1.1.1",
+ "affinityId": "TVM:tvm-1695681911_2-20161122t193202z",
+ "vmSize": "small",
+ "totalTasksRun": 0,
+ "totalTasksSucceeded": 0,
+ "runningTasksCount": 0,
+ "isDedicated": true,
+ "startTask": {
+ "commandLine": "cmd /c echo hello",
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ },
+ "maxTaskRetryCount": 0,
+ "waitForSuccess": false
+ },
+ "startTaskInfo": {
+ "state": "completed",
+ "startTime": "2016-11-22T19:37:31.4285526Z",
+ "endTime": "2016-11-22T19:37:31.838028Z",
+ "exitCode": 0,
+ "retryCount": 0
+ },
+ "nodeAgentInfo": {
+ "version": "1.2.0.0",
+ "lastUpdateTime": "2016-11-22T22:22:24.4634125Z"
+ }
+ },
+ {
+ "id": "tvm-1695681911_3-20161122t193202z",
+ "url": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-1695681911_3-20161122t193202z",
+ "state": "idle",
+ "schedulingState": "enabled",
+ "stateTransitionTime": "2016-11-22T19:36:51.0013378Z",
+ "lastBootTime": "2016-11-22T19:36:48.21721Z",
+ "allocationTime": "2016-11-22T19:32:02.8155319Z",
+ "ipAddress": "1.1.1.1",
+ "affinityId": "TVM:tvm-1695681911_3-20161122t193202z",
+ "vmSize": "small",
+ "totalTasksRun": 0,
+ "totalTasksSucceeded": 0,
+ "runningTasksCount": 0,
+ "isDedicated": true,
+ "startTask": {
+ "commandLine": "cmd /c echo hello",
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ },
+ "maxTaskRetryCount": 0,
+ "waitForSuccess": false
+ },
+ "startTaskInfo": {
+ "state": "completed",
+ "startTime": "2016-11-22T19:36:51.0013378Z",
+ "endTime": "2016-11-22T19:36:51.2363447Z",
+ "exitCode": 0,
+ "retryCount": 0
+ },
+ "nodeAgentInfo": {
+ "version": "1.2.0.0",
+ "lastUpdateTime": "2016-11-22T22:22:24.4634125Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReboot.json
new file mode 100644
index 000000000000..08203231735b
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReboot.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161122t193202z",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "nodeRebootParameter": {
+ "nodeRebootOption": "terminate"
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReimage.json
new file mode 100644
index 000000000000..e8f4c68e3fe7
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeReimage.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161122t193202z",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "nodeReimageParameter": {
+ "nodeReimageOption": "terminate"
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUpdateUser.json
new file mode 100644
index 000000000000..50a27f9f2848
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUpdateUser.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161121t182739z",
+ "userName": "userName",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "nodeUpdateUserParameter": {
+ "password": "12345",
+ "expiryTime": "2016-11-27T00:45:48.7320857Z"
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUploadBatchServiceLogs.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUploadBatchServiceLogs.json
new file mode 100644
index 000000000000..b42b6b733935
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/NodeUploadBatchServiceLogs.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "nodeId": "tvm-1695681911_1-20161121t182739z",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "uploadBatchServiceLogsConfiguration": {
+ "containerUrl": "https://somestorageacct.blob.core.windows.net/batch-compute-node-logs?se=2017-12-09T18%3A51%3A00Z&sp=w&sv=2016-05-31&sr=c&sig",
+ "startTime": "2017-11-27T00:00:00Z"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0",
+ "numberOfFilesUploaded": 8
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_CloudServiceConfiguration.json
new file mode 100644
index 000000000000..acc39d97c943
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_CloudServiceConfiguration.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "pool": {
+ "id": "poolId",
+ "vmSize": "small",
+ "cloudServiceConfiguration": {
+ "osFamily": "4"
+ },
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
+ "taskSchedulingPolicy": {
+ "nodeFillType": "spread"
+ },
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "request-id": "00000000-0000-0000-0000-000000000000",
+ "ETag": "0x8D45765A6A2DC04",
+ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_MountConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_MountConfiguration.json
new file mode 100644
index 000000000000..904c395240b4
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_MountConfiguration.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "pool": {
+ "id": "pool2",
+ "vmSize": "standard_a1",
+ "virtualMachineConfiguration": {
+ "imageReference": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "16.04.0-LTS"
+ },
+ "nodeAgentSKUId": "batch.node.ubuntu 16.04"
+ },
+ "mountConfiguration": [
+ {
+ "azureBlobFileSystemConfiguration": {
+ "accountName": "accountName",
+ "containerName": "blobContainerName",
+ "accountKey": "accountKey",
+ "relativeMountPath": "bfusepath"
+ }
+ },
+ {
+ "azureFileShareConfiguration": {
+ "accountName": "accountName",
+ "azureFileUrl": "https://myaccount.file.core.windows.net/fileshare",
+ "accountKey": "accountKey",
+ "relativeMountPath": "filesharepath",
+ "mountOptions": "mount options ver=1.0"
+ }
+ },
+ {
+ "nfsMountConfiguration": {
+ "source": "somesource nfs url",
+ "relativeMountPath": "mountpath",
+ "mountOptions": "mount options ver=1.0"
+ }
+ },
+ {
+ "cifsMountConfiguration": {
+ "username": "accountName",
+ "password": "password",
+ "source": "//myaccount.file.core.windows.net/file",
+ "relativeMountPath": "mountpath",
+ "mountOptions": "mount options ver=1.0"
+ }
+ }
+ ],
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
+ "taskSchedulingPolicy": {
+ "nodeFillType": "spread"
+ },
+ "enableAutoScale": false
+ }
+ },
+ "responses": {
+ "201": {
+ "request-id": "00000000-0000-0000-0000-000000000000",
+ "ETag": "0x8D45765A6A2DC04",
+ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfiguration.json
new file mode 100644
index 000000000000..870ea6d10f7e
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfiguration.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "pool": {
+ "id": "pool2",
+ "vmSize": "standard_a1",
+ "virtualMachineConfiguration": {
+ "imageReference": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "16.04.0-LTS"
+ },
+ "nodeAgentSKUId": "batch.node.ubuntu 16.04"
+ },
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
+ "taskSchedulingPolicy": {
+ "nodeFillType": "spread"
+ },
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "request-id": "00000000-0000-0000-0000-000000000000",
+ "ETag": "0x8D45765A6A2DC04",
+ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
new file mode 100644
index 000000000000..471ffe2ebb55
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "pool": {
+ "id": "pool2",
+ "vmSize": "standard_a1",
+ "virtualMachineConfiguration": {
+ "imageReference": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "16.04.0-LTS"
+ },
+ "nodeAgentSKUId": "batch.node.ubuntu 16.04",
+ "containerConfiguration": {
+ "type": "dockerCompatible",
+ "containerImageNames": [
+ "busybox"
+ ]
+ }
+ },
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
+ "taskSchedulingPolicy": {
+ "nodeFillType": "spread"
+ },
+ "enableAutoScale": false
+ }
+ },
+ "responses": {
+ "201": {
+ "request-id": "00000000-0000-0000-0000-000000000000",
+ "ETag": "0x8D45765A6A2DC04",
+ "Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDelete.json
new file mode 100644
index 000000000000..6d55c3c47372
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDisableAutoScale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDisableAutoScale.json
new file mode 100644
index 000000000000..ffb6ba2b31b0
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolDisableAutoScale.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEnableAutoscale.json
new file mode 100644
index 000000000000..f04251501d79
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEnableAutoscale.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "poolEnableAutoScaleParameter": {
+ "autoScaleFormula": "$TargetDedicated=0",
+ "autoScaleEvaluationInterval": "PT8M"
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEvaluateAutoscale.json
new file mode 100644
index 000000000000..58e71301c449
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolEvaluateAutoscale.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "poolEvaluateAutoScaleParameter": {
+ "autoScaleFormula": "$TargetDedicated=1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamp": "2016-11-22T19:39:28.5246331Z",
+ "results": "$TargetDedicated=1;$NodeDeallocationOption=requeue"
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolExists.json
new file mode 100644
index 000000000000..c10ff8f72b2b
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolExists.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {},
+ "404": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGetLifetimeStatistics.json
new file mode 100644
index 000000000000..5340f9d18894
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGetLifetimeStatistics.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "url": "https://account.region.batch.core.windows.net/lifetimepoolstats",
+ "startTime": "2014-08-01T18:30:00.4345729Z",
+ "lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
+ "usageStats": {
+ "startTime": "2014-08-01T18:30:00.4345729Z",
+ "lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
+ "dedicatedCoreTime": "PT0S"
+ },
+ "resourceStats": {
+ "startTime": "2014-08-01T18:30:00.4345729Z",
+ "lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
+ "avgCPUPercentage": 40.0,
+ "avgMemoryGiB": 2.0,
+ "peakMemoryGiB": 4.0,
+ "avgDiskGiB": 125.0,
+ "peakDiskGiB": 240.0,
+ "diskReadIOps": 0,
+ "diskWriteIOps": 0,
+ "diskReadGiB": 10.0,
+ "diskWriteGiB": 1.0,
+ "networkReadGiB": 20.0,
+ "networkWriteGiB": 25.0
+ }
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGet_Basic.json
new file mode 100644
index 000000000000..3b5732a75c7f
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolGet_Basic.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "pool",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "pool",
+ "url": "https://account.region.batch.azure.com/pools/pool",
+ "eTag": "0x8D413091E739A56",
+ "lastModified": "2016-11-22T18:55:25.2608598Z",
+ "creationTime": "2016-11-22T18:55:24.2632496Z",
+ "state": "active",
+ "stateTransitionTime": "2016-11-22T18:55:24.2632496Z",
+ "allocationState": "steady",
+ "allocationStateTransitionTime": "2016-11-22T18:55:24.8154041Z",
+ "vmSize": "standard_a1",
+ "resizeTimeout": "PT15M",
+ "currentDedicatedNodes": 0,
+ "currentLowPriorityNodes": 0,
+ "targetDedicatedNodes": 0,
+ "targetLowPriorityNodes": 0,
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": false,
+ "startTask": {
+ "commandLine": "/bin/bash -c 'echo start task'",
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ },
+ "maxTaskRetryCount": 0,
+ "waitForSuccess": false
+ },
+ "maxTasksPerNode": 1,
+ "taskSchedulingPolicy": {
+ "nodeFillType": "spread"
+ },
+ "virtualMachineConfiguration": {
+ "imageReference": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "16.04.0-LTS",
+ "version": "latest"
+ },
+ "nodeAgentSKUId": "batch.node.ubuntu 16.04"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolListUsageMetrics.json
new file mode 100644
index 000000000000..8388fbf9d710
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolListUsageMetrics.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "startTime": "2013-04-01T00:00:00Z",
+ "endTime": "2013-04-01T00:30:00Z",
+ "poolId": "p1",
+ "vmSize": "a1",
+ "totalCoreHours": 39.384838
+ },
+ {
+ "startTime": "2013-04-01T00:30:00Z",
+ "endTime": "2013-04-01T01:00:00Z",
+ "poolId": "p2",
+ "vmSize": "a8",
+ "totalCoreHours": 3039.384838
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolList_Basic.json
new file mode 100644
index 000000000000..4b273d031029
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolList_Basic.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "testPool",
+ "url": "https://accountname.region.batch.azure.com/pools/testPool",
+ "eTag": "0x8D4123BEF87D233",
+ "lastModified": "2016-11-21T18:26:39.7108787Z",
+ "creationTime": "2016-11-21T18:26:39.7108787Z",
+ "state": "active",
+ "stateTransitionTime": "2016-11-21T18:26:39.7108787Z",
+ "allocationState": "steady",
+ "allocationStateTransitionTime": "2016-11-21T18:27:40.287803Z",
+ "vmSize": "small",
+ "resizeTimeout": "PT15M",
+ "currentDedicatedNodes": 3,
+ "currentLowPriorityNodes": 0,
+ "targetDedicatedNodes": 3,
+ "targetLowPriorityNodes": 0,
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": false,
+ "startTask": {
+ "commandLine": "cmd /c echo hello",
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ },
+ "maxTaskRetryCount": 0,
+ "waitForSuccess": false
+ },
+ "maxTasksPerNode": 1,
+ "taskSchedulingPolicy": {
+ "nodeFillType": "spread"
+ },
+ "cloudServiceConfiguration": {
+ "osFamily": "4",
+ "osVersion": "*"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolPatch.json
new file mode 100644
index 000000000000..7bb1453fc5a2
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolPatch.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "poolPatchParameter": {
+ "startTask": {
+ "commandLine": "/bin/bash -c 'echo start task'"
+ }
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolRemoveNodes.json
new file mode 100644
index 000000000000..e785e9d5b8cc
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolRemoveNodes.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "nodeRemoveParameter": {
+ "nodeList": [
+ "tvm-1695681911_1-20161122t224741z",
+ "tvm-1695681911_2-20161122t224741z"
+ ]
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolResize.json
new file mode 100644
index 000000000000..453ad670f7ac
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolResize.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "resizePool",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "poolResizeParameter": {
+ "targetDedicatedNodes": 1,
+ "targetLowPriorityNodes": 0
+ }
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolStopResize.json
new file mode 100644
index 000000000000..6d55c3c47372
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolStopResize.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolUpdate.json
new file mode 100644
index 000000000000..6f2f5bde4e86
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/PoolUpdate.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "poolId": "poolId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "poolUpdatePropertiesParameter": {
+ "startTask": {
+ "commandLine": "/bin/bash -c 'echo start task'"
+ },
+ "certificateReferences": [],
+ "applicationPackageReferences": [],
+ "metadata": []
+ }
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Basic.json
new file mode 100644
index 000000000000..441c32588adb
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Basic.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "taskCollection": {
+ "value": [
+ {
+ "id": "simple1",
+ "commandLine": "cmd /c dir /s"
+ },
+ {
+ "id": "simple2",
+ "commandLine": "cmd /c dir /s"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "status": "success",
+ "taskId": "simple1",
+ "eTag": "0x8D3D623CD661246",
+ "lastModified": "2016-09-06T07:02:44.7589958Z",
+ "location": "https://account.region.batch.azure.com/jobs/jobId/tasks/simple1"
+ },
+ {
+ "status": "success",
+ "taskId": "simple2",
+ "eTag": "0x8D3D623CD7072CC",
+ "lastModified": "2016-09-06T07:02:44.8270028Z",
+ "location": "https://account.region.batch.azure.com/jobs/jobId/tasks/simple2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Complex.json
new file mode 100644
index 000000000000..cbf4547d1dc3
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAddCollection_Complex.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "taskCollection": {
+ "value": [
+ {
+ "id": "complex1",
+ "commandLine": "cmd /c dir /s",
+ "resourceFiles": [
+ {
+ "autoStorageContainerName": "containerName",
+ "filePath": "data"
+ }
+ ],
+ "environmentSettings": [
+ {
+ "name": "env1",
+ "value": "value1"
+ },
+ {
+ "name": "env2",
+ "value": "value2"
+ }
+ ],
+ "affinityInfo": {
+ "affinityId": "affinityId"
+ },
+ "constraints": {
+ "maxWallClockTime": "P1D",
+ "retentionTime": "P2D",
+ "maxTaskRetryCount": 5
+ },
+ "multiInstanceSettings": {
+ "numberOfInstances": 3,
+ "coordinationCommandLine": "cmd /c echo coordinating",
+ "commonResourceFiles": [
+ {
+ "httpUrl": "https://common.blob.core.windows.net/",
+ "filePath": "common.exe"
+ }
+ ]
+ }
+ },
+ {
+ "id": "simple3",
+ "commandLine": "cmd /c dir /s"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "taskId": "simple3",
+ "status": "success",
+ "eTag": "0x8D3D623CE295629",
+ "lastModified": "2016-09-06T07:02:46.0386857Z",
+ "location": "https://account.region.batch.azure.com/jobs/jobId/tasks/simple3"
+ },
+ {
+ "taskId": "complex1",
+ "status": "success",
+ "eTag": "0x8D3D623CE29A412",
+ "lastModified": "2016-09-06T07:02:46.0406802Z",
+ "location": "https://account.region.batch.azure.com/jobs/jobId/tasks/complex1"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_Basic.json
new file mode 100644
index 000000000000..58baf28af916
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_Basic.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "task": {
+ "id": "task1",
+ "commandLine": "cmd /c echo task1"
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ContainerSettings.json
new file mode 100644
index 000000000000..fe9ef95233bf
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ContainerSettings.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "task": {
+ "id": "taskId",
+ "commandLine": "bash -c 'echo hello'",
+ "containerSettings": {
+ "imageName": "ubuntu",
+ "containerRunOptions": "--rm"
+ },
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ExitConditions.json
new file mode 100644
index 000000000000..60e606c7c17b
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskAdd_ExitConditions.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "task": {
+ "id": "taskId",
+ "commandLine": "cmd /c exit 3",
+ "exitConditions": {
+ "exitCodeRanges": [
+ {
+ "start": 2,
+ "end": 4,
+ "exitOptions": {
+ "jobAction": "terminate"
+ }
+ }
+ ]
+ },
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskDelete.json
new file mode 100644
index 000000000000..815e09c4b7aa
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "taskId": "taskId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskGet.json
new file mode 100644
index 000000000000..c78aba329a8d
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskGet.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "taskId": "taskId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "testTask",
+ "url": "https://account.region.batch.azure.com/jobs/jobId/tasks/taskId",
+ "eTag": "0x8D3D62350711C55",
+ "creationTime": "2016-09-06T06:59:15.1161429Z",
+ "lastModified": "2016-09-06T06:59:15.1161429Z",
+ "state": "active",
+ "stateTransitionTime": "2016-09-06T06:59:15.1161429Z",
+ "commandLine": "cmd /c hostname",
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ },
+ "multiInstanceSettings": {
+ "numberOfInstances": 3,
+ "coordinationCommandLine": "cmd /c echo coordinating"
+ },
+ "constraints": {
+ "maxWallClockTime": "P10675199DT2H48M5.4775807S",
+ "retentionTime": "P10675199DT2H48M5.4775807S",
+ "maxTaskRetryCount": 0
+ },
+ "executionInfo": {
+ "retryCount": 0,
+ "requeueCount": 0
+ }
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskList.json
new file mode 100644
index 000000000000..0a6857c07b1e
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskList.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "task1",
+ "url": "https://account.region.batch.azure.com/jobs/jobId/tasks/task1",
+ "eTag": "0x8D4125FD1A825A4",
+ "creationTime": "2016-11-21T22:43:31.4733476Z",
+ "lastModified": "2016-11-21T22:43:31.4733476Z",
+ "state": "active",
+ "stateTransitionTime": "2016-11-21T22:43:31.4733476Z",
+ "commandLine": "cmd /c echo task1",
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ },
+ "constraints": {
+ "maxWallClockTime": "P10675199DT2H48M5.4775807S",
+ "retentionTime": "P10675199DT2H48M5.4775807S",
+ "maxTaskRetryCount": 0
+ },
+ "executionInfo": {
+ "retryCount": 0,
+ "requeueCount": 0
+ }
+ },
+ {
+ "id": "task2",
+ "url": "https://account.region.batch.azure.com/jobs/jobId/tasks/task2",
+ "eTag": "0x8D4125FD2153345",
+ "creationTime": "2016-11-21T22:43:31.6736345Z",
+ "lastModified": "2016-11-21T22:43:32.1880389Z",
+ "state": "active",
+ "stateTransitionTime": "2016-11-21T22:43:31.6736345Z",
+ "commandLine": "cmd /c echo task2",
+ "userIdentity": {
+ "autoUser": {
+ "scope": "task",
+ "elevationLevel": "nonadmin"
+ }
+ },
+ "constraints": {
+ "maxWallClockTime": "P10675199DT2H48M5.4775807S",
+ "retentionTime": "P10675199DT2H48M5.4775807S",
+ "maxTaskRetryCount": 3
+ },
+ "executionInfo": {
+ "retryCount": 0,
+ "requeueCount": 0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskListSubtasks.json
new file mode 100644
index 000000000000..59c8c9c1c84a
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskListSubtasks.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "taskId": "taskId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": 1,
+ "startTime": "2016-09-06T06:59:16.3139271Z",
+ "endTime": "2016-09-06T06:59:20.0242024Z",
+ "state": "completed",
+ "stateTransitionTime": "2016-09-06T06:59:20.0242024Z",
+ "previousState": "running",
+ "previousStateTransitionTime": "2016-09-06T06:59:16.3139271Z",
+ "exitCode": 0,
+ "nodeInfo": {
+ "affinityId": "TVM:tvm-2544493925_3-20160905t051718z",
+ "nodeUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2544493925_3-20160905t051718z",
+ "poolId": "mpiPool",
+ "nodeId": "tvm-2544493925_3-20160905t051718z",
+ "taskRootDirectory": "\\workitems\\jobId\\job-1\\taskId\\1",
+ "taskRootDirectoryUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2544493925_3-20160905t051718z/files//workitems/jobId/job-1/taskId/1"
+ }
+ },
+ {
+ "id": 2,
+ "startTime": "2016-09-06T06:59:16.9702844Z",
+ "state": "running",
+ "stateTransitionTime": "2016-09-06T06:59:16.9702844Z",
+ "nodeInfo": {
+ "affinityId": "TVM:tvm-2544493925_2-20160905t051718z",
+ "nodeUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2544493925_2-20160905t051718z",
+ "poolId": "mpiPool",
+ "nodeId": "tvm-2544493925_2-20160905t051718z",
+ "taskRootDirectory": "\\workitems\\jobId\\job-1\\taskId\\2",
+ "taskRootDirectoryUrl": "https://account.region.batch.azure.com/pools/poolId/nodes/tvm-2544493925_2-20160905t051718z/files//workitems/jobId/job-1/taskId/2"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskReactivate.json
new file mode 100644
index 000000000000..037b719d7619
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskReactivate.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "taskId": "taskId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskTerminate.json
new file mode 100644
index 000000000000..037b719d7619
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskTerminate.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "taskId": "taskId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskUpdate.json
new file mode 100644
index 000000000000..fd020a4359ec
--- /dev/null
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-08-01.10.0/examples/TaskUpdate.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "batchUrl": "account.region.batch.azure.com",
+ "api-version": "2019-08-01.10.0",
+ "jobId": "jobId",
+ "taskId": "taskId",
+ "client-request-id": "00000000-0000-0000-0000-000000000000",
+ "ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
+ "taskUpdateParameter": {
+ "constraints": {
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": 3,
+ "retentionTime": "PT1H"
+ }
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/batch/data-plane/readme.go.md b/specification/batch/data-plane/readme.go.md
index b1c62e2a22ae..97a9240d60c4 100644
--- a/specification/batch/data-plane/readme.go.md
+++ b/specification/batch/data-plane/readme.go.md
@@ -18,6 +18,16 @@ batch:
- tag: package-2018-08.7.0
- tag: package-2018-12.8.0
- tag: package-2019-06.9.0
+ - tag: package-2019-08.10.0
+```
+
+### Tag: package-2019-08.10.0 and go
+
+These settings apply only when `--tag=package-2019-06.9.0 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag)=='package-2019-08.10.0' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/2019-08-01.10.0/$(namespace)
```
### Tag: package-2019-06.9.0 and go
diff --git a/specification/batch/data-plane/readme.md b/specification/batch/data-plane/readme.md
index cd89c2e2a8fe..fe6f3ff0c1c2 100644
--- a/specification/batch/data-plane/readme.md
+++ b/specification/batch/data-plane/readme.md
@@ -26,7 +26,16 @@ These are the global settings for the Batch API.
``` yaml
openapi-type: data-plane
-tag: package-2019-06.9.0
+tag: package-2019-08.10.0
+```
+
+### Tag: package-2019-08.10.0
+
+These settings apply only when `--tag=package-2019-08.10.0` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-08.10.0'
+input-file:
+- Microsoft.Batch/stable/2019-08-01.10.0/BatchService.json
```
### Tag: package-2019-06.9.0
diff --git a/specification/batch/data-plane/readme.nodejs.md b/specification/batch/data-plane/readme.nodejs.md
index bfa69d5ebf73..153fd930a812 100644
--- a/specification/batch/data-plane/readme.nodejs.md
+++ b/specification/batch/data-plane/readme.nodejs.md
@@ -6,6 +6,7 @@ Please also specify `--node-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-08' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-08-01/$(namespace)
+```
+
### Tag: package-2019-04 and go
These settings apply only when `--tag=package-2019-04 --go` is specified on the command line.
diff --git a/specification/batch/resource-manager/readme.md b/specification/batch/resource-manager/readme.md
index 45918b60c2d9..9d070b8f7ec5 100644
--- a/specification/batch/resource-manager/readme.md
+++ b/specification/batch/resource-manager/readme.md
@@ -26,9 +26,17 @@ These are the global settings for the Batch API.
``` yaml
openapi-type: arm
-tag: package-2019-04
+tag: package-2019-08
```
+### Tag: package-2019-08
+
+These settings apply only when `--tag=package-2019-08` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-08'
+input-file:
+ - Microsoft.Batch/stable/2019-08-01/BatchManagement.json
+```
### Tag: package-2019-04
@@ -38,6 +46,7 @@ These settings apply only when `--tag=package-2019-04` is specified on the comma
input-file:
- Microsoft.Batch/stable/2019-04-01/BatchManagement.json
```
+
### Tag: package-2018-12
These settings apply only when `--tag=package-2018-12` is specified on the command line.
diff --git a/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json b/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json
index 1b3154d420e0..f511bcdaa541 100644
--- a/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json
+++ b/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json
@@ -24,7 +24,7 @@
},
"responses": {
"200": {
- "parameters": {
+ "body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo_resource_group/providers/Microsoft.BatchAI/fileservers/fileservercedd134b",
"name": "demo_nfs",
"type": "Microsoft.BatchAI/FileServers",
diff --git a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json
index 19986c09970c..f319ee74030f 100644
--- a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json
+++ b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json
@@ -24,7 +24,7 @@
},
"responses": {
"200": {
- "parameters": {
+ "body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo_resource_group/providers/Microsoft.BatchAI/fileservers/fileservercedd134b",
"name": "demo_nfs",
"type": "Microsoft.BatchAI/FileServers",
diff --git a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json
index 86208593a021..e11fd4ec53b0 100644
--- a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json
+++ b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json
@@ -24,7 +24,7 @@
},
"responses": {
"200": {
- "parameters": {
+ "body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo_resource_group/providers/Microsoft.BatchAI/workspaces/demo_workspace/fileservers/fileservercedd134b",
"name": "demo_nfs",
"type": "Microsoft.BatchAI/FileServers",
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoiceSectionRoleAssignmentList.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoiceSectionRoleAssignmentList.json
index 75c6219d8af9..f5b78d5af888 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoiceSectionRoleAssignmentList.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoiceSectionRoleAssignmentList.json
@@ -6,7 +6,7 @@
},
"responses": {
"200": {
- "200": {
+ "body": {
"value": [
{
"id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingAccount.json
index e915c042a78c..e9a2974d9f4f 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingAccount.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingAccount.json
@@ -5,37 +5,39 @@
},
"responses": {
"200": {
- "value": [
- {
- "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000011/paymentMethods/00000000-0000-0000-0000-000000000055",
- "name": "00000000-0000-0000-0000-000000000055",
- "type": "Microsoft.Billing/paymentMethods",
- "properties": {
- "currency": "USD",
- "details": "Credits",
- "expiration": "4/2020",
- "paymentMethodType": "Credits"
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000011/paymentMethods/00000000-0000-0000-0000-000000000055",
+ "name": "00000000-0000-0000-0000-000000000055",
+ "type": "Microsoft.Billing/paymentMethods",
+ "properties": {
+ "currency": "USD",
+ "details": "Credits",
+ "expiration": "4/2020",
+ "paymentMethodType": "Credits"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000022/paymentMethods/00000000-0000-0000-0000-000000000026",
+ "name": "00000000-0000-0000-0000-000000000026",
+ "type": "Microsoft.Billing/paymentMethods",
+ "properties": {
+ "details": "Check Wire",
+ "paymentMethodType": "CheckWire"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000011/paymentMethods/00000000-0000-0000-0000-000000000026",
+ "name": "00000000-0000-0000-0000-000000000026",
+ "type": "Microsoft.Billing/paymentMethods",
+ "properties": {
+ "details": "Check Wire",
+ "paymentMethodType": "CheckWire"
+ }
}
- },
- {
- "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000022/paymentMethods/00000000-0000-0000-0000-000000000026",
- "name": "00000000-0000-0000-0000-000000000026",
- "type": "Microsoft.Billing/paymentMethods",
- "properties": {
- "details": "Check Wire",
- "paymentMethodType": "CheckWire"
- }
- },
- {
- "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/00000000-0000-0000-0000-000000000011/paymentMethods/00000000-0000-0000-0000-000000000026",
- "name": "00000000-0000-0000-0000-000000000026",
- "type": "Microsoft.Billing/paymentMethods",
- "properties": {
- "details": "Check Wire",
- "paymentMethodType": "CheckWire"
- }
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingProfile.json
index 6e133b1cdb44..63a34f586995 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingProfile.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/PaymentMethodsListByBillingProfile.json
@@ -6,28 +6,30 @@
},
"responses": {
"200": {
- "value": [
- {
- "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods/00000000-0000-0000-0000-000000000055",
- "name": "00000000-0000-0000-0000-000000000055",
- "type": "Microsoft.Billing/paymentMethods",
- "properties": {
- "currency": "USD",
- "details": "Credits",
- "expiration": "4/2020",
- "paymentMethodType": "Credits"
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods/00000000-0000-0000-0000-000000000055",
+ "name": "00000000-0000-0000-0000-000000000055",
+ "type": "Microsoft.Billing/paymentMethods",
+ "properties": {
+ "currency": "USD",
+ "details": "Credits",
+ "expiration": "4/2020",
+ "paymentMethodType": "Credits"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods/00000000-0000-0000-0000-000000000026",
+ "name": "00000000-0000-0000-0000-000000000026",
+ "type": "Microsoft.Billing/paymentMethods",
+ "properties": {
+ "details": "Check Wire",
+ "paymentMethodType": "CheckWire"
+ }
}
- },
- {
- "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethods/00000000-0000-0000-0000-000000000026",
- "name": "00000000-0000-0000-0000-000000000026",
- "type": "Microsoft.Billing/paymentMethods",
- "properties": {
- "details": "Check Wire",
- "paymentMethodType": "CheckWire"
- }
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/ApplySnapshot.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/ApplySnapshot.json
index 7ce325b284f1..b6a9b3b07da6 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/ApplySnapshot.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/ApplySnapshot.json
@@ -11,7 +11,6 @@
},
"responses": {
"202": {
- "body": "",
"header": {
"Operation-Location": "/operations/84276574-2a2a-4540-a1b0-f65d834d225b"
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewFaceList.json
index 5139ad3dabeb..27b931726dc5 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewFaceList.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewFaceList.json
@@ -11,8 +11,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargeFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargeFaceList.json
index 33bb88993941..7d9471cc218b 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargeFaceList.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargeFaceList.json
@@ -11,8 +11,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargePersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargePersonGroup.json
index 6f831a39b042..213cca68a808 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargePersonGroup.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewLargePersonGroup.json
@@ -11,8 +11,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewPersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewPersonGroup.json
index 9d5dd84abfc6..47bac3dae296 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewPersonGroup.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/CreateNewPersonGroup.json
@@ -11,8 +11,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceList.json
index 6c4f6cd264e2..8a56998fe56e 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceList.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceList.json
@@ -6,8 +6,6 @@
"faceListId": "sample_face_list"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceListFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceListFace.json
index f62209d70196..3c7cb6945fad 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceListFace.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteFaceListFace.json
@@ -7,8 +7,6 @@
"persistedFaceId": "62004fa7-1ac0-478e-9d5a-b38f9e7fbc68"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceList.json
index e27143c42a60..a17660fd24a8 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceList.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceList.json
@@ -6,8 +6,6 @@
"largeFaceListId": "sample_face_list"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceListFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceListFace.json
index 1ca196e08f84..c51df9d7089e 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceListFace.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargeFaceListFace.json
@@ -7,8 +7,6 @@
"persistedFaceId": "62004fa7-1ac0-478e-9d5a-b38f9e7fbc68"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroup.json
index 838301622851..e9888166e026 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroup.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroup.json
@@ -6,8 +6,6 @@
"largePersonGroupId": "abc"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPerson.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPerson.json
index 5034b6b0ca10..f75102f3a28b 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPerson.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPerson.json
@@ -7,8 +7,6 @@
"personId": "25985303-c537-4467-b41d-bdb45cd95ca1"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPersonFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPersonFace.json
index 79f8b40cd415..593ea9f58f47 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPersonFace.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteLargePersonGroupPersonFace.json
@@ -8,8 +8,6 @@
"persistedFaceId": "62004fa7-1ac0-478e-9d5a-b38f9e7fbc68"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroup.json
index 56590ec14bf8..f7c062c6a2e0 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroup.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroup.json
@@ -6,8 +6,6 @@
"personGroupId": "abc"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPerson.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPerson.json
index 4248f956f019..b9a3e416b947 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPerson.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPerson.json
@@ -7,8 +7,6 @@
"personId": "25985303-c537-4467-b41d-bdb45cd95ca1"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPersonFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPersonFace.json
index a08c4b459b06..459adbe3eda5 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPersonFace.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeletePersonGroupPersonFace.json
@@ -8,8 +8,6 @@
"persistedFaceId": "62004fa7-1ac0-478e-9d5a-b38f9e7fbc68"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteSnapshot.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteSnapshot.json
index 872ed45189aa..48c5abc49858 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteSnapshot.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/DeleteSnapshot.json
@@ -6,8 +6,6 @@
"snapshotId": "e58b3f08-1e8b-4165-81df-aa9858f233dc"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargeFaceListTraining.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargeFaceListTraining.json
index 6c8cb3a790bb..38b96eb8dd09 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargeFaceListTraining.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargeFaceListTraining.json
@@ -6,8 +6,6 @@
"largeFaceListId": "abc"
},
"responses": {
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargePersonGroupTraining.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargePersonGroupTraining.json
index eb6dd2a84ae6..62cf89c96bc1 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargePersonGroupTraining.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueueLargePersonGroupTraining.json
@@ -6,8 +6,6 @@
"largePersonGroupId": "abc"
},
"responses": {
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueuePersonGroupTraining.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueuePersonGroupTraining.json
index f2fb3725df1c..998a4eb523ea 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueuePersonGroupTraining.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/QueuePersonGroupTraining.json
@@ -6,8 +6,6 @@
"personGroupId": "abc"
},
"responses": {
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/TakeSnapshot.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/TakeSnapshot.json
index b4abe2c1b607..ef925f79b927 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/TakeSnapshot.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/TakeSnapshot.json
@@ -15,7 +15,6 @@
},
"responses": {
"202": {
- "body": "",
"header": {
"Operation-Location": "/operations/a63a3bdd-a1db-4d05-87b8-dbad6850062a"
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateFaceList.json
index d3561f0d94cb..78ec8efe493a 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateFaceList.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateFaceList.json
@@ -10,8 +10,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceList.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceList.json
index 5e2bb4069849..e1918aef1e28 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceList.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceList.json
@@ -10,8 +10,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceListFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceListFace.json
index 21f6ea0a21e9..fe742c9bb920 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceListFace.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargeFaceListFace.json
@@ -10,8 +10,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroup.json
index 8ab8de61cdda..b15516c4b0f3 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroup.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroup.json
@@ -10,8 +10,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPerson.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPerson.json
index a4048c361c89..eee119bf114b 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPerson.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPerson.json
@@ -11,8 +11,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPersonFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPersonFace.json
index ed8acfa1b62e..0b91ecb07efc 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPersonFace.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateLargePersonGroupPersonFace.json
@@ -11,8 +11,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroup.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroup.json
index 9d103c49f698..2ed80b8253cd 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroup.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroup.json
@@ -10,8 +10,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPerson.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPerson.json
index 6f1ce9932704..76fc46fc4deb 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPerson.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPerson.json
@@ -11,8 +11,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPersonFace.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPersonFace.json
index 44d9cfe34734..b3e7b74542d5 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPersonFace.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdatePersonGroupPersonFace.json
@@ -11,8 +11,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateSnapshot.json b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateSnapshot.json
index 697285601dc8..5d56c58b9de4 100644
--- a/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateSnapshot.json
+++ b/specification/cognitiveservices/data-plane/Face/stable/v1.0/examples/UpdateSnapshot.json
@@ -12,8 +12,6 @@
}
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json
index d391c3680892..2c1f6c05942e 100644
--- a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json
+++ b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json
@@ -215,9 +215,9 @@
"type": "string",
"description": "The category of a recognition unit represents the type of content for that unit.",
"enum": [
+ "root",
"writingRegion",
"paragraph",
- "listItem",
"line",
"inkBullet",
"inkDrawing",
@@ -233,9 +233,9 @@
"type": "string",
"description": "The category of recognition units that represent types that have children recognition units.",
"enum": [
+ "root",
"writingRegion",
"paragraph",
- "listItem",
"line"
],
"x-ms-enum": {
@@ -292,6 +292,94 @@
"type": "object"
}
},
+ "inkPointValueAttribute" : {
+ "type" : "object",
+ "description" : "A container for the attributes of a value contained in the ink point object.",
+ "properties" : {
+ "name" : {
+ "type" : "string",
+ "description" : "The name of the point attribute."
+ },
+ "logicalMinimum" : {
+ "type" : "number",
+ "description" : "The minimum value for the attribute"
+ },
+ "logicalMaximum" : {
+ "type" : "number",
+ "description" : "The maximum value for the attribute"
+ }
+ }
+ },
+ "inkPoint" : {
+ "type" : "object",
+ "description" : "An object containing the properties of an point in the path of an ink stroke. The main properties are the x and y values. Other include tip pressure, x tilt etc. For the coordinate values, it is recommended to have a precision of 8 digits after the decimal to obtain most accurate recognition results. The origin (0,0) of the canvas is assumed to be at the top left corner of the canvas",
+ "properties" : {
+ "x" : {
+ "type" : "number",
+ "description" : "The x coordinate of the pen location on the writing surface."
+ },
+ "y" : {
+ "type" : "number",
+ "description" : "The y coordinate of the pen location on the writing surface."
+ },
+ "z" : {
+ "type" : "number",
+ "description" : "The z coordinate of the pen location on the writing space. This may not be used for recognition."
+ },
+ "tipPressure" : {
+ "type" : "number",
+ "description" : "The force exerted against the tablet surface by the transducer, typically a stylus. This may not be used for recognition."
+ },
+ "barrelPressure" : {
+ "type" : "number",
+ "description" : "The force exerted directly by the user on a transducer sensor, such as a pressure-sensitive button on the barrel of a stylus. This may not be used for recognition."
+ },
+ "timestamp" : {
+ "type" : "number",
+ "description" : "The time relative to the absolute time the transducer last became active. This may not be used for recognition."
+ },
+ "xTilt" : {
+ "type" : "number",
+ "description" : "The plane angle between the Y-Z plane and the plane containing the transducer axis and the Y axis. This may not be used for recognition."
+ },
+ "yTilt" : {
+ "type" : "number",
+ "description" : "The angle between the X-Z and transducer-X planes. A positive Y Tilt is toward the user. This may not be used for recognition."
+ },
+ "width" : {
+ "type" : "number",
+ "description" : "The width of the tip of the writing instrument. This is used by touch screen devices to report the width of the finger contact on the writing surface. This may not be used for recognition."
+ },
+ "height" : {
+ "type" : "number",
+ "description" : "The height of the tip of the writing instrument. This is used by touch screen devices to report the height of the finger contact on the writing surface. This may not be used for recognition."
+ },
+ "tipSwitch" : {
+ "type" : "boolean",
+ "description" : "A switch located on the tip of a stylus indicating contact of the stylus with a surface. This may not be used for recognition."
+ },
+ "inverted" : {
+ "type" : "boolean",
+ "description" : "A value that indicates that the currently sensed position originates from the end of a stylus opposite the tip switch. This may not be used for recognition."
+ },
+ "barrelSwitch" : {
+ "type" : "boolean",
+ "description" : "A non-tip button located on the barrel of a stylus. Its function is typically mapped to a system secondary button. This may not be used for recognition."
+ },
+ "eraser" : {
+ "type" : "boolean",
+ "description" : "The control is used for erasing objects. It is typically located opposite the writing end of a stylus. This may not be used for recognition."
+ },
+ "secondaryTip" : {
+ "type" : "boolean",
+ "description" : "A secondary switch used in conjunction with the tip switch to indicate pressure above a certain threshold applied with the stylus. This may not be used for recognition."
+ }
+ },
+ "required" : [
+ "x",
+ "y"
+ ]
+ },
"recognitionUnit": {
"items": {
"properties": {
@@ -331,36 +419,36 @@
"description": "The id of the parent node in the tree structure of the recognition results. parent = 0 indicates that there is no dedicated parent node for this unit."
},
"boundingRectangle": {
- "description": "The bounding rectangle of the recognized unit represented by the coordinates of the top left corner (x,y) along with width (w) and height (h) of the rectangle. Note that this rectangle is not rotated. So for rotated objects such as slanted handwriting, it will cover the entire object. The unit will be matched to the one specified in the original request (mm by default.) ",
+ "description": "The bounding rectangle of the recognition unit represented by the coordinates of the top left corner (topX,topY) along with width and height of the rectangle. Note that this rectangle is not rotated. So for rotated objects such as slanted handwriting, it will cover the entire object. The unit will be matched to the one specified in the original request (mm by default.) ",
"type": "object",
"properties": {
"topX": {
"type": "number",
- "description": "This represents the top left x coordinate"
+ "description": "This is the top left x coordinate"
},
"topY": {
"type": "number",
- "description": "This represents the top left y coordinate"
+ "description": "This is the top left y coordinate"
},
"width": {
"type": "number",
- "description": "This represents width of the bounding rectangle"
+ "description": "This is width of the bounding rectangle"
},
"height": {
"type": "number",
- "description": "The represents the height of the bounding rectangle"
+ "description": "The is the height of the bounding rectangle"
}
}
},
"rotatedBoundingRectangle": {
- "description": "This property provides the rotated bounding rectangle that covers the entire recognized object along the angle of rotation of the object. Note that this is NOT the same as rotating the boundingRectangle by the rotation angle.",
+ "description": "This is the rotated bounding rectangle that covers the entire recognized object along the angle of rotation of the object. Note that this is NOT the same as rotating the boundingRectangle by the rotation angle.",
"type": "array",
"items": {
"$ref": "#/definitions/pointDetailsPattern"
}
},
"strokeIds": {
- "description": "This is an array of integers representing the list of stroke Identifier integers from the input request body that belong to this recognition unit.",
+ "description": "This is an array of integers representing the list of stroke Identifiers from the input request body that belong to this recognition unit.",
"type": "array",
"items": {
"type": "integer"
@@ -368,15 +456,15 @@
},
"recognizedText": {
"type": "string",
- "description": "The string represents the text that was recognized. It can be an empty string if the recognizer cannot determine the text."
+ "description": "The string contains the text that was recognized. It can be an empty string if the recognizer cannot determine the text."
},
"confidence": {
"type": "number",
- "description": "The class represents the type of the recognition unit. A recognition unit can be a leaf node or a container node. Container nodes typically have leaf nodes as children."
+ "description": "A number between 0 and 1 which indicates the confidence level in the result."
},
"rotationAngle": {
"type": "number",
- "description": "This represents the angle at which the unit is rotated in degrees with respect to the positive X axis."
+ "description": "This is the angle at which the unit is rotated in degrees with respect to the positive X axis."
},
"recognizedObject": {
"$ref": "#/definitions/shapePattern"
@@ -390,7 +478,7 @@
"id"
],
"type": "object",
- "description": "This represents the recognized entity"
+ "description": "This identifies the recognized entity"
},
"type": "array",
"description": "The list of recognition units based on the analysis of the ink strokes."
@@ -407,8 +495,10 @@
"description": "The IETF BCP 47 language code (for ex. en-US, en-GB, hi-IN etc.) of the expected language for the handwritten content in this stroke. The response will include results from this language."
},
"points": {
- "type": "string",
- "description": "A string of comma separated floating point values that represent the x and y coordinates of points that are part of the stroke. (X1,Y1, X2,Y2…). It is recommended to have a precision of 8 digits after the decimal to obtain most accurate recognition results. The origin (0,0) of the canvas is assumed to be at the top left corner of the canvas"
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/inkPoint"
+ }
},
"drawingAttributes": {
"$ref": "#/definitions/drawingAttributesPattern"
@@ -437,7 +527,7 @@
"properties": {
"unit": {
"type": "string",
- "description": "This represents the physical units of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.",
+ "description": "This is the physical unit of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.",
"enum": [
"mm",
"cm",
@@ -454,7 +544,7 @@
},
"language": {
"type": "string",
- "description": "This is the language used for recognizing handwriting from the ink strokes in the request. Set this to the user’s preferred language."
+ "description": "This is the language used for recognizing handwriting from the ink strokes in the request."
},
"recognitionUnits": {
"$ref": "#/definitions/recognitionUnit"
@@ -526,14 +616,38 @@
"modelAsString": true
}
},
+ "inputDeviceKind" : {
+ "type" : "string",
+ "description" : "This identifies the kind of device used as the writing instrument",
+ "enum" : [
+ "digitizer",
+ "pen",
+ "lightPen",
+ "touchScreen",
+ "touchPad",
+ "whiteBoard",
+ "3dDigitizer",
+ "stereoPlotter",
+ "articulatedArm",
+ "armature"
+ ],
+ "x-ms-enum" : {
+ "name" : "inputDevice",
+ "modelAsString": true
+ }
+ },
"unit": {
"type": "string",
- "description": "This represents the physical units of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.",
+ "description": "This is the physical unit of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.",
"enum": [
"mm",
"cm",
"in"
- ]
+ ],
+ "x-ms-enum": {
+ "name": "unit",
+ "modelAsString": true
+ }
},
"unitMultiple": {
"description": " This is a scaling factor to be applied to the point coordinates when interpreting them in the physical units specified.",
@@ -544,6 +658,12 @@
"example": "en-US",
"description": "The IETF BCP 47 language code (for ex. en-US, en-GB, hi-IN etc.) of the expected language for the handwritten content in the ink strokes. The response will include results from this language."
},
+ "inkPointValueAttributes" : {
+ "type" : "array",
+ "items" : {
+ "$ref":"#/definitions/inkPointValueAttribute"
+ }
+ },
"strokes": {
"type": "array",
"items": {
diff --git a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json
index d3a41e0403d2..54579b8e7e79 100644
--- a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json
+++ b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json
@@ -7,16 +7,420 @@
"language": "en-US",
"strokes": [
{
- "id": 1,
- "kind": "inkWriting",
- "points": "19.34498,28.21327,19.34498,27.93462,19.34498,27.65597,19.0157,27.65597,18.76874,27.44698,18.27483,27.44698,18.02787,27.44698,17.45164,27.44698,16.62845,27.65597,15.88758,27.93462,15.06439,28.49191,14.32351,28.97955,13.25337,29.53685,11.36003,31.41773,10.61916,32.46267,9.795967,33.50761,8.972776,34.83119,8.231905,35.87613,7.655672,37.19971,7.161757,38.24465,6.9148,39.35925,6.9148,40.12554,6.9148,40.89182,6.9148,41.72777,7.408715,42.2154,7.902629,42.49405,8.478863,42.77271,8.972776,43.05135,9.795967,43.05135,10.28988,43.05135,11.11307,42.77271,11.93626,42.2154,12.43018,41.72777,13.25337,41.17047,13.74728,40.12554,14.57047,39.0806,15.31134,37.75701,15.88758,36.15478,16.62845,34.27389,17.20468,32.46267,17.6986,30.30314,18.27483,28.21327,18.76874,26.12339,19.34498,23.96386,19.59193,21.87399,19.83889,19.9931,20.08585,18.46053,20.08585,17.13695,20.08585,16.02235,20.08585,14.97741,20.08585,14.48978,20.08585,13.93248,19.83889,13.65383,19.83889,13.65383,19.83889,13.65383,19.59193,13.65383,19.59193,13. 65383,19.34498,14.21113,19.34498,14.69876,19.0157,15.25606,19.0157,16.02235,18.76874,17.13695,18.76874,18.46053,18.52179,19.78412,18.27483,21.31669,18.02787,22.91892,18.02787,24.52116,17.6986,26.33238,17.45164,28.21327,17.20468,30.09415,16.95773,31.90537,16.62845,33.50761,16.62845,35.10984,16.62845,36.71207,16.62845,38.03566,16.95773,39.0806,17.20468,39.84688,17.45164,40.68283,18.02787,41.17047,18.52179,41.72777,19.34498,42.00642,19.83889,42.00642,20.90904,41.72777,21.73223,41.44912,22.4731,40.89182,23.54325,40.12554,24.36644,39.35925,25.10731,38.5233,25.9305,37.47836,26.75369,36.71207,27.24761,35.59748,27.49457,34.55254,27.74152,33.50761,28.0708,32.46267,28.0708,31.62672,28.0708,30.86044,28.0708,30.09415,27.74152,29.53685,27.49457,28.97955,27.24761,28.77056,26.75369,28.49191,26.42442,28.49191,25.9305,28.49191,25.43659,28.97955,25.10731,29.53685,24.6134,30.09415,24.03716,30.86044,23.79021,31.90537,23.29629,33.22896,23.04934,34.27389,22.72006,35.59748,22.72006,36.71207,22.4731,38.03566,22.72006,39.0806,22.72006,40.12554,23.04934,40.89182,23.29629,41.72777,23.79021,42.2154,24.36644,42.77271,24.86036,43.05135,25.68354,43.05135,26.42442,43.05135,27.24761,42.77271,28.31775,42.2154,29.3879,41.72777,30.45805,40.89182,31.44588,39.84688,32.8453,38.80195,33.83313,37.47836,35.15023,35.87613,36.22039,34.27389,37.29053,32.46267,39.43083,27.93462,40.50097,25.5661,41.24184,23.19757,41.81808,20.82905,42.55895,18.46053,42.88823,16.301,43.38214,14.48978,43.6291,11.84261,43.6291,10.72801,43.6291,10.24037,43.38214,9.96172,43.38214,9.96172,43.13519,9.96172,42.88823,10.72801,42.31199,12.60889,41.81808,14.21113,41.24184,16.02235,40.74793,18.18188,40.25402,20.5504,39.67778,23.19757,39.43083,25.84475,38.60764,31.13909,38.36068,33.78626,38.36068,36.43343,38.11372,38.80195,38.11372,40.89182,38.11372,43.05135,37.86677,45.14123,37.53749,48.62434,37.53749,49.94793,37.29053,51.27151,37.04358,52.31645,36.79662,53.08273,36.54966,53.64004,35.97342,53.84902,34.65633,53.64004,33.83313,53.08273,33.09226,52.5951,32.26907,51.75915,31.19892,50.71421,30.45805,49.66928,29.88182,48.83333,28.56471,47.02211,28.31775,46.18616,28.0708,45.69852,28.0708,45.14123,28.31775,44.37494,28.56471,43.53899,29.88182,42.2154,30.70501,41.44912,31.77516,40.68283,32.8453,39.56823,35.47952,37.75701,36.79662,36.92107,39.67778,35.38849,42.31199,34.0649,43.6291,33.50761,46.26331,32.74132,47.33346,32.46267,49.22679,32.18402,49.72071,31.90537,50.29694,31.90537,50.79086,31.90537,51.03782,31.90537,51.03782,31.90537,50.29694,31.90537,49.96766,32.18402,49.47375,32.46267,48.65057,32.74132,47.90969,33.22896,47.0865,33.78626,46.26331,34.27389,44.69925,35.87613,44.20533,36.71207,43.95837,37.75701,43.6291,38.5233,43.38214,39.84688,43.6291,40.12554,43.95837,40.40418,44.20533,40.68283,45.27548,40.40418,46.01635,40.12554,46.59258,39.56823,47.0865,38.80195,47.90969,38.03566,48.97984,36.15478,49.47375,35.10984,49.72071,34.27389,49.96766,33.50761,50.29694,32.46267,50.5439,31.90537,50.5439,31.90537,50.29694,32.18402,50.29694,32.74132,49.96766,33.22896,49.72071,34.83119,49.47375,35.87613,49.47375,37.75701,49.47375,38.5233,49.72071,39.0806,49.72071,39.35925,50.29694,39.56823,50.79086,39.56823,51.03782,39.35925,51.61405,38.80195,52.6842,37.47836,53.1781,36.71207,53.67202,35.87613,54.24826,35.10984,54.74217,34.55254,55.3184,33.50761,55.56536,33.22896,55.56536,32.95031,55.56536,32.95031,55.56536,33.78626,55.3184,34.27389,55.07145,35.38849,55.07145,36.15478,55.07145,36.92107,55.07145,37.47836,55.3184,38.03566,55.3184,38.24465,55.56536,38.5233,56.05928,38.5233,56.38855,38.24465,56.63551,38.03566,57.12943,37.75701,57.70565,36.71207,58.19957,36.15478,58.44653,35.10984,58.77581,34.55254,58.77581,34.27389,59.02276,34.0649,59.02276,33.78626,59.02276,33.78626,58.77581,34.27389,58.77581,34.55254,58.77581,35.10984,58.77581,35.38849,58.44653,36.71207,58.77581,37.47836,58.77581,38.03566,59.02276,38.80195,59.51667,39.56823,60.09291,39.84688,60.58682,39.84688,61.08074,39.56823,61.90393,39.35925,63.46799,38.24465,64.53814,37.19971,65.60828,36.15478,66.67844,34.55254,68.48946,31.41773,69.31265,29.53685,70.62975,25.5661,71.20598,23.47622,71.45294,21.87399,71.6999,20.5504,71.6999,18.18188,71.45294,17.34593,70.8767,16.57965,70.62975,16.301,70.3828,16.57965,69.88888,16.8583,68.81873,18.18188,68.24249,19.22682,67.17235,21.59534,66.43147,22.91892,65.85524,24.52116,65.60828,26.12339,64.7851,29.2582,64.53814,30.58179,64.29118,33.22896,64.53814,34.55254,64.53814,35.59748,64.7851,36.71207,65.85524,38.24465,66.43147,38.80195,67.99554,39.35925,68.81873,39.56823,69.5596,39.35925,70.62975,39.0806,73.01699,37.75701,74.33411,36.71207,76.72135,34.0649,78.03847,32.18402,79.35557,30.30314,80.67267,28.21327,82.81297,23.75487,83.88311,21.31669,85.20022,17.34593,85.69414,15.53471,86.02341,14.21113,86.27037,13.16619,86.27037,11.56396,86.27037,11.28531,86.27037,11.00666,86.02341,11.28531,86.02341,11.28531,86.02341,11.84261,85.44718,12.88754,85.44718,13.65383,84.95326,15.81336,84.70631,16.8583,84.37703,17.90323,83.88311,19.22682,83.30688,22.15264,82.81297,23.75487,81.98978,26.88968,81.49586,28.49191,81.00195,30.09415,80.67267,31.62672,80.17876,34.27389,79.9318,35.38849,79.60252,37.47836,79.60252,38.24465,79.60252,38.80195,79.9318,39.35925,80.42571,40.40418,81.00195,40.68283,82.31906,40.89182,83.05993,40.89182,83.88311,40.89182,84.95326,40.68283,86.76428,39.56823,87.58747,39.0806,89.15154,38.03566,89.72777,37.19971,90.22169,36.43343"
+ "id": 1,
+ "kind": "inkWriting",
+ "points":[{ "x" : 19.34498, "y" : 28.21327},
+ { "x" : 19.34498, "y" : 27.93462},
+ { "x" : 19.34498, "y" : 27.65597},
+ { "x" :19.0157, "y" : 27.65597},
+ { "x" : 18.76874, "y" : 27.44698},
+ { "x" : 18.27483, "y" : 27.44698},
+ { "x" : 18.02787, "y" : 27.44698},
+ { "x" : 17.45164, "y" : 27.44698},
+ { "x" : 16.62845, "y" : 27.65597},
+ { "x" : 15.88758, "y" : 27.93462},
+ { "x" : 15.06439, "y" : 28.49191},
+ { "x" : 14.32351, "y" : 28.97955},
+ { "x" : 13.25337, "y" : 29.53685},
+ { "x" : 11.36003, "y" : 31.41773},
+ { "x" : 10.61916, "y" : 32.46267},
+ { "x" : 9.795967, "y" : 33.50761},
+ { "x" : 8.972776, "y" : 34.83119},
+ { "x" : 8.231905, "y" : 35.87613},
+ { "x" : 7.655672, "y" : 37.19971},
+ { "x" : 7.161757, "y" : 38.24465},
+ { "x" : 6.9148, "y" : 39.35925},
+ { "x" : 6.9148, "y" : 40.12554},
+ { "x" : 6.9148, "y" : 40.89182},
+ { "x" : 6.9148, "y" : 41.72777},
+ { "x" : 7.408715, "y" : 42.2154},
+ { "x" : 7.902629, "y" : 42.49405},
+ { "x" : 8.478863, "y" : 42.77271},
+ { "x" : 8.972776, "y" : 43.05135},
+ { "x" : 9.795967, "y" : 43.05135},
+ { "x" : 10.28988, "y" : 43.05135},
+ { "x" : 11.11307, "y" : 42.77271},
+ { "x" : 11.93626, "y" : 42.2154},
+ { "x" : 12.43018, "y" : 41.72777},
+ { "x" : 13.25337, "y" : 41.17047},
+ { "x" : 13.74728, "y" : 40.12554},
+ { "x" : 14.57047, "y" : 39.0806},
+ { "x" : 15.31134, "y" : 37.75701},
+ { "x" : 15.88758, "y" : 36.15478},
+ { "x" : 16.62845, "y" : 34.27389},
+ { "x" : 17.20468, "y" : 32.46267},
+ { "x" : 17.6986, "y" : 30.30314},
+ { "x" : 18.27483, "y" : 28.21327},
+ { "x" : 18.76874, "y" : 26.12339},
+ { "x" : 19.34498, "y" : 23.96386},
+ { "x" : 19.59193, "y" : 21.87399},
+ { "x" : 19.83889, "y" : 19.9931},
+ { "x" : 20.08585, "y" : 18.46053},
+ { "x" : 20.08585, "y" : 17.13695},
+ { "x" : 20.08585, "y" : 16.02235},
+ { "x" : 20.08585, "y" : 14.97741},
+ { "x" : 20.08585, "y" : 14.48978},
+ { "x" : 20.08585, "y" : 13.93248},
+ { "x" : 19.83889, "y" : 13.65383},
+ { "x" : 19.83889, "y" : 13.65383},
+ { "x" : 19.83889, "y" : 13.65383},
+ { "x" : 19.59193, "y" : 13.65383},
+ { "x" : 19.59193, "y" : 13.65383},
+ { "x" : 19.34498, "y" : 14.21113},
+ { "x" : 19.34498, "y" : 14.69876},
+ { "x" : 19.0157, "y" : 15.25606},
+ { "x" : 19.0157, "y" : 16.02235},
+ { "x" : 18.76874, "y" : 17.13695},
+ { "x" : 18.76874, "y" : 18.46053},
+ { "x" : 18.52179, "y" : 19.78412},
+ { "x" : 18.27483, "y" : 21.31669},
+ { "x" : 18.02787, "y" : 22.91892},
+ { "x" : 18.02787, "y" : 24.52116},
+ { "x" : 17.6986, "y" : 26.33238},
+ { "x" : 17.45164, "y" : 28.21327},
+ { "x" : 17.20468, "y" : 30.09415},
+ { "x" : 16.95773, "y" : 31.90537},
+ { "x" : 16.62845, "y" : 33.50761},
+ { "x" : 16.62845, "y" : 35.10984},
+ { "x" : 16.62845, "y" : 36.71207},
+ { "x" : 16.62845, "y" : 38.03566},
+ { "x" : 16.95773, "y" : 39.0806},
+ { "x" : 17.20468, "y" : 39.84688},
+ { "x" : 17.45164, "y" : 40.68283},
+ { "x" : 18.02787, "y" : 41.17047},
+ { "x" : 18.52179, "y" : 41.72777},
+ { "x" : 19.34498, "y" :42.00642},
+ { "x" : 19.83889, "y" :42.00642},
+ { "x" : 20.90904, "y" :41.72777},
+ { "x" : 21.73223, "y" :41.44912},
+ { "x" : 22.4731, "y" :40.89182},
+ { "x" : 23.54325, "y" :40.12554},
+ { "x" : 24.36644, "y" :39.35925},
+ { "x" : 25.10731, "y" :38.5233},
+ { "x" : 25.9305, "y" :37.47836},
+ { "x" : 26.75369, "y" :36.71207},
+ { "x" : 27.24761, "y" :35.59748},
+ { "x" : 27.49457, "y" :34.55254},
+ { "x" : 27.74152, "y" :33.50761},
+ { "x" : 28.0708, "y" :32.46267},
+ { "x" : 28.0708, "y" :31.62672},
+ { "x" : 28.0708, "y" :30.86044},
+ { "x" : 28.0708, "y" :30.09415},
+ { "x" : 27.74152, "y" :29.53685},
+ { "x" : 27.49457, "y" :28.97955},
+ { "x" : 27.24761, "y" :28.77056},
+ { "x" : 26.75369, "y" :28.49191},
+ { "x" : 26.42442, "y" :28.49191},
+ { "x" : 25.9305, "y" :28.49191},
+ { "x" : 25.43659, "y" :28.97955},
+ { "x" : 25.10731, "y" :29.53685},
+ { "x" : 24.6134, "y" :30.09415},
+ { "x" : 24.03716, "y" :30.86044},
+ { "x" : 23.79021, "y" :31.90537},
+ { "x" : 23.29629, "y" :33.22896},
+ { "x" : 23.04934, "y" :34.27389},
+ { "x" : 22.72006, "y" :35.59748},
+ { "x" : 22.72006, "y" :36.71207},
+ { "x" : 22.4731, "y" :38.03566},
+ { "x" : 22.72006, "y" :39.0806},
+ { "x" : 22.72006, "y" :40.12554},
+ { "x" : 23.04934, "y" :40.89182},
+ { "x" : 23.29629, "y" :41.72777},
+ { "x" : 23.79021, "y" :42.2154},
+ { "x" : 24.36644, "y" :42.77271},
+ { "x" : 24.86036, "y" :43.05135},
+ { "x" : 25.68354, "y" : 43.05135},
+ { "x" : 26.42442, "y" : 43.05135},
+ { "x" : 27.24761, "y" : 42.77271},
+ { "x" : 28.31775, "y" : 42.2154},
+ { "x" : 29.3879, "y" : 41.72777},
+ { "x" : 30.45805, "y" : 40.89182},
+ { "x" : 31.44588, "y" : 39.84688},
+ { "x" : 32.8453, "y" : 38.80195},
+ { "x" : 33.83313, "y" : 37.47836},
+ { "x" : 35.15023, "y" : 35.87613},
+ { "x" : 36.22039, "y" : 34.27389},
+ { "x" : 37.29053, "y" : 32.46267},
+ { "x" : 39.43083, "y" : 27.93462},
+ { "x" : 40.50097, "y" : 25.5661},
+ { "x" : 41.24184, "y" : 23.19757},
+ { "x" : 41.81808, "y" : 20.82905},
+ { "x" : 42.55895, "y" : 18.46053},
+ { "x" : 42.88823, "y" : 16.301},
+ { "x" : 43.38214, "y" : 14.48978},
+ { "x" : 43.6291, "y" : 11.84261},
+ { "x" : 43.6291, "y" : 10.72801},
+ { "x" : 43.6291, "y" : 10.24037},
+ { "x" : 43.38214, "y" : 9.96172},
+ { "x" : 43.38214, "y" : 9.96172},
+ { "x" : 43.13519, "y" : 9.96172},
+ { "x" : 42.88823, "y" : 10.72801},
+ { "x" : 42.31199, "y" : 12.60889},
+ { "x" : 41.81808, "y" : 14.21113},
+ { "x" : 41.24184, "y" : 16.02235},
+ { "x" : 40.74793, "y" : 18.18188},
+ { "x" : 40.25402, "y" : 20.5504},
+ { "x" : 39.67778, "y" : 23.19757},
+ { "x" : 39.43083, "y" : 25.84475},
+ { "x" : 38.60764, "y" : 31.13909},
+ { "x" : 38.36068, "y" : 33.78626},
+ { "x" : 38.36068, "y" : 36.43343},
+ { "x" : 38.11372, "y" : 38.80195},
+ { "x" : 38.11372, "y" : 40.89182},
+ { "x" : 38.11372, "y" : 43.05135},
+ { "x" : 37.86677, "y" : 45.14123},
+ { "x" : 37.53749, "y" : 48.62434},
+ { "x" : 37.53749, "y" : 49.94793},
+ { "x" : 37.29053, "y" : 51.27151},
+ { "x" : 37.04358, "y" : 52.31645},
+ { "x" : 36.79662, "y" : 53.08273},
+ { "x" : 36.54966, "y" : 53.64004},
+ { "x" : 35.97342, "y" : 53.84902},
+ { "x" : 34.65633, "y" : 53.64004},
+ { "x" : 33.83313, "y" : 53.08273},
+ { "x" : 33.09226, "y" : 52.5951},
+ { "x" : 32.26907, "y" : 51.75915},
+ { "x" : 31.19892, "y" : 50.71421},
+ { "x" : 30.45805, "y" : 49.66928},
+ { "x" : 29.88182, "y" : 48.83333},
+ { "x" : 28.56471, "y" : 47.02211},
+ { "x" : 28.31775, "y" : 46.18616},
+ { "x" : 28.0708, "y" : 45.69852},
+ { "x" : 28.0708, "y" : 45.14123},
+ { "x" : 28.31775, "y" : 44.37494},
+ { "x" : 28.56471, "y" : 43.53899},
+ { "x" : 29.88182, "y" : 42.2154},
+ { "x" : 30.70501, "y" : 41.44912},
+ { "x" : 31.77516, "y" : 40.68283},
+ { "x" : 32.8453, "y" : 39.56823},
+ { "x" : 35.47952, "y" : 37.75701},
+ { "x" : 36.79662, "y" : 36.92107},
+ { "x" : 39.67778, "y" : 35.38849},
+ { "x" : 42.31199, "y" : 34.0649},
+ { "x" : 43.6291, "y" : 33.50761},
+ { "x" : 46.26331, "y" : 32.74132},
+ { "x" : 47.33346, "y" : 32.46267},
+ { "x" : 49.22679, "y" : 32.18402},
+ { "x" : 49.72071, "y" : 31.90537},
+ { "x" : 50.29694, "y" : 31.90537},
+ { "x" : 50.79086, "y" : 31.90537},
+ { "x" : 51.03782, "y" : 31.90537},
+ { "x" : 51.03782, "y" : 31.90537},
+ { "x" : 50.29694, "y" : 31.90537},
+ { "x" : 49.96766, "y" : 32.18402},
+ { "x" : 49.47375, "y" : 32.46267},
+ { "x" : 48.65057, "y" : 32.74132},
+ { "x" : 47.90969, "y" : 33.22896},
+ { "x" : 47.0865, "y" : 33.78626},
+ { "x" : 46.26331, "y" : 34.27389},
+ { "x" : 44.69925, "y" : 35.87613},
+ { "x" : 44.20533, "y" : 36.71207},
+ { "x" : 43.95837, "y" : 37.75701},
+ { "x" : 43.6291, "y" : 38.5233},
+ { "x" : 43.38214, "y" : 39.84688},
+ { "x" : 43.6291, "y" : 40.12554},
+ { "x" : 43.95837, "y" : 40.40418},
+ { "x" : 44.20533, "y" : 40.68283},
+ { "x" : 45.27548, "y" : 40.40418},
+ { "x" : 46.01635, "y" : 40.12554},
+ { "x" : 46.59258, "y" : 39.56823},
+ { "x" : 47.0865, "y" : 38.80195},
+ { "x" : 47.90969, "y" : 38.03566},
+ { "x" : 48.97984, "y" : 36.15478},
+ { "x" : 49.47375, "y" : 35.10984},
+ { "x" : 49.72071, "y" : 34.27389},
+ { "x" : 49.96766, "y" : 33.50761},
+ { "x" : 50.29694, "y" : 32.46267},
+ { "x" : 50.5439, "y" : 31.90537},
+ { "x" : 50.5439, "y" : 31.90537},
+ { "x" : 50.29694, "y" : 32.18402},
+ { "x" : 50.29694, "y" : 32.74132},
+ { "x" : 49.96766, "y" : 33.22896},
+ { "x" : 49.72071, "y" : 34.83119},
+ { "x" : 49.47375, "y" : 35.87613},
+ { "x" : 49.47375, "y" : 37.75701},
+ { "x" : 49.47375, "y" : 38.5233},
+ { "x" : 49.72071, "y" : 39.0806},
+ { "x" : 49.72071, "y" : 39.35925},
+ { "x" : 50.29694, "y" : 39.56823},
+ { "x" : 50.79086, "y" : 39.56823},
+ { "x" : 51.03782, "y" : 39.35925},
+ { "x" : 51.61405, "y" : 38.80195},
+ { "x" : 52.6842, "y" : 37.47836},
+ { "x" : 53.1781, "y" : 36.71207},
+ { "x" : 53.67202, "y" : 35.87613},
+ { "x" : 54.24826, "y" : 35.10984},
+ { "x" : 54.74217, "y" : 34.55254},
+ { "x" : 55.3184, "y" : 33.50761},
+ { "x" : 55.56536, "y" : 33.22896},
+ { "x" : 55.56536, "y" : 32.95031},
+ { "x" : 55.56536, "y" : 32.95031},
+ { "x" : 55.56536, "y" : 33.78626},
+ { "x" : 55.3184, "y" : 34.27389},
+ { "x" : 55.07145, "y" : 35.38849},
+ { "x" : 55.07145, "y" : 36.15478},
+ { "x" : 55.07145, "y" : 36.92107},
+ { "x" : 55.07145, "y" : 37.47836},
+ { "x" : 55.3184, "y" : 38.03566},
+ { "x" : 55.3184, "y" : 38.24465},
+ { "x" : 55.56536, "y" : 38.5233},
+ { "x" : 56.05928, "y" : 38.5233},
+ { "x" : 56.38855, "y" : 38.24465},
+ { "x" : 56.63551, "y" : 38.03566},
+ { "x" : 57.12943, "y" : 37.75701},
+ { "x" : 57.70565, "y" : 36.71207},
+ { "x" : 58.19957, "y" : 36.15478},
+ { "x" : 58.44653, "y" : 35.10984},
+ { "x" : 58.77581, "y" : 34.55254},
+ { "x" : 58.77581, "y" : 34.27389},
+ { "x" : 59.02276, "y" : 34.0649},
+ { "x" : 59.02276, "y" : 33.78626},
+ { "x" : 59.02276, "y" : 33.78626},
+ { "x" : 58.77581, "y" : 34.27389},
+ { "x" : 58.77581, "y" : 34.55254},
+ { "x" : 58.77581, "y" : 35.10984},
+ { "x" : 58.77581, "y" : 35.38849},
+ { "x" : 58.44653, "y" : 36.71207},
+ { "x" : 58.77581, "y" : 37.47836},
+ { "x" : 58.77581, "y" : 38.03566},
+ { "x" : 59.02276, "y" : 38.80195},
+ { "x" : 59.51667, "y" : 39.56823},
+ { "x" : 60.09291, "y" : 39.84688},
+ { "x" : 60.58682, "y" : 39.84688},
+ { "x" : 61.08074, "y" : 39.56823},
+ { "x" : 61.90393, "y" : 39.35925},
+ { "x" : 63.46799, "y" : 38.24465},
+ { "x" : 64.53814, "y" : 37.19971},
+ { "x" : 65.60828, "y" : 36.15478},
+ { "x" : 66.67844, "y" : 34.55254},
+ { "x" : 68.48946, "y" : 31.41773},
+ { "x" : 69.31265, "y" : 29.53685},
+ { "x" : 70.62975, "y" : 25.5661},
+ { "x" : 71.20598, "y" : 23.47622},
+ { "x" : 71.45294, "y" : 21.87399},
+ { "x" : 71.6999, "y" : 20.5504},
+ { "x" : 71.6999, "y" : 18.18188},
+ { "x" : 71.45294, "y" : 17.34593},
+ { "x" : 70.8767, "y" : 16.57965},
+ { "x" : 70.62975, "y" : 16.301},
+ { "x" : 70.3828, "y" : 16.57965},
+ { "x" : 69.88888, "y" : 16.8583},
+ { "x" : 68.81873, "y" : 18.18188},
+ { "x" : 68.24249, "y" : 19.22682},
+ { "x" : 67.17235, "y" : 21.59534},
+ { "x" : 66.43147, "y" : 22.91892},
+ { "x" : 65.85524, "y" : 24.52116},
+ { "x" : 65.60828, "y" : 26.12339},
+ { "x" : 64.7851, "y" : 29.2582},
+ { "x" : 64.53814, "y" : 30.58179},
+ { "x" : 64.29118, "y" : 33.22896},
+ { "x" : 64.53814, "y" : 34.55254},
+ { "x" : 64.53814, "y" : 5.59748},
+ { "x" : 64.7851, "y" : 36.71207},
+ { "x" : 65.85524, "y" : 38.24465},
+ { "x" : 66.43147, "y" : 38.80195},
+ { "x" : 67.99554, "y" : 39.35925},
+ { "x" : 68.81873, "y" : 39.56823},
+ { "x" : 69.5596, "y" : 39.35925},
+ { "x" : 70.62975, "y" : 39.0806},
+ { "x" : 73.01699, "y" : 37.75701},
+ { "x" : 74.33411, "y" : 36.71207},
+ { "x" : 76.72135, "y" : 34.0649},
+ { "x" : 78.03847, "y" : 32.18402},
+ { "x" : 79.35557, "y" : 30.30314},
+ { "x" : 80.67267, "y" : 28.21327},
+ { "x" : 82.81297, "y" : 23.75487},
+ { "x" : 83.88311, "y" : 21.31669},
+ { "x" : 85.20022, "y" : 17.34593},
+ { "x" : 85.69414, "y" : 15.53471},
+ { "x" : 86.02341, "y" : 14.21113},
+ { "x" : 86.27037, "y" : 13.16619},
+ { "x" : 86.27037, "y" : 11.56396},
+ { "x" : 86.27037, "y" : 11.28531},
+ { "x" : 86.27037, "y" : 11.00666},
+ { "x" : 86.02341, "y" : 11.28531},
+ { "x" : 86.02341, "y" : 11.28531},
+ { "x" : 86.02341, "y" : 11.84261},
+ { "x" : 85.44718, "y" : 12.88754},
+ { "x" : 85.44718, "y" : 13.65383},
+ { "x" : 84.95326, "y" : 15.81336},
+ { "x" : 84.70631, "y" : 16.8583},
+ { "x" : 84.37703, "y" : 17.90323},
+ { "x" : 83.88311, "y" : 19.22682},
+ { "x" : 83.30688, "y" : 22.15264},
+ { "x" : 82.81297, "y" : 23.75487},
+ { "x" : 81.98978, "y" : 26.88968},
+ { "x" : 81.49586, "y" : 28.49191},
+ { "x" : 81.00195, "y" : 30.09415},
+ { "x" : 80.67267, "y" : 31.62672},
+ { "x" : 80.17876, "y" : 34.27389},
+ { "x" : 79.9318, "y" : 35.38849},
+ { "x" : 79.60252, "y" : 37.47836},
+ { "x" : 79.60252, "y" : 38.24465},
+ { "x" : 79.60252, "y" : 38.80195},
+ { "x" : 79.9318, "y" : 39.35925},
+ { "x" : 80.42571, "y" : 40.40418},
+ { "x" : 81.00195, "y" : 40.68283},
+ { "x" : 82.31906, "y" : 40.89182},
+ { "x" : 83.05993, "y" : 40.89182},
+ { "x" : 83.88311, "y" : 40.89182},
+ { "x" : 84.95326, "y" : 40.68283},
+ { "x" : 86.76428, "y" : 39.56823},
+ { "x" : 87.58747, "y" : 39.0806},
+ { "x" : 89.15154, "y" : 38.03566},
+ { "x" : 89.72777, "y" : 37.19971},
+ { "x" : 90.22169, "y" : 36.43343}]
},
{
- "id": 2,
- "kind": "inkWriting",
- "points": "80.17876,20.27175,80.17876,20.27175,80.17876,20.27175,80.17876,20.27175,80.17876,20.5504,80.17876,20.5504,80.17876,20.5504,80.17876,20.5504,80.42571,20.5504,80.42571,20.5504,80.67267,20.5504,81.00195,20.5504,81.49586,20.5504,81.98978,20.5504,82.56602,20.5504,83.30688,20.5504,84.13007,20.5504,84.95326,20.27175,86.02341,20.27175,86.76428,20.27175,87.58747,20.27175,88.41067,19.9931,89.15154,19.9931,89.72777,19.9931,90.22169,19.78412,90.46864,19.78412,90.7156,19.78412,91.04487,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.53879,19.78412,91.53879,19.78412,91.78574,19.78412"
+ "id": 2,
+ "kind": "inkWriting",
+ "points": [{ "x": 80.17876, "y" : 20.27175},
+ { "x": 80.17876, "y" : 20.27175},
+ { "x": 80.17876, "y" : 20.27175},
+ { "x": 80.17876, "y" : 20.27175},
+ { "x": 80.17876, "y" : 20.5504},
+ { "x": 80.17876, "y" : 20.5504},
+ { "x": 80.17876, "y" : 20.5504},
+ { "x": 80.17876, "y" : 20.5504},
+ { "x": 80.42571, "y" : 20.5504},
+ { "x": 80.42571, "y" : 20.5504},
+ { "x": 80.67267, "y" : 20.5504},
+ { "x": 81.00195, "y" : 20.5504},
+ { "x": 81.49586, "y" : 20.5504},
+ { "x": 81.98978, "y" : 20.5504},
+ { "x": 82.56602, "y" : 20.5504},
+ { "x": 83.30688, "y" : 20.5504},
+ { "x": 84.13007, "y" : 20.5504},
+ { "x": 84.95326, "y" : 20.27175},
+ { "x": 86.02341, "y" : 20.27175},
+ { "x": 86.76428, "y" : 20.27175},
+ { "x": 87.58747, "y" : 20.27175},
+ { "x": 88.41067, "y" : 19.9931},
+ { "x": 89.15154, "y" : 19.9931},
+ { "x": 89.72777, "y" : 19.9931},
+ { "x": 90.22169, "y" : 19.78412},
+ { "x": 90.46864, "y" : 19.78412},
+ { "x": 90.7156, "y" : 19.78412},
+ { "x": 91.04487, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.29183, "y" : 19.78412},
+ { "x": 91.53879, "y" : 19.78412},
+ { "x": 91.53879, "y" : 19.78412},
+ { "x": 91.78574, "y" : 19.78412}]
}
- ]
+ ]
}
},
"responses": {
@@ -246,6 +650,43 @@
1,
2
]
+ },
+ {
+ "boundingRectangle": {
+ "height": 43.889999389648438,
+ "topX": 6.9099998474121094,
+ "topY": 9.9600000381469727,
+ "width": 84.879997253417969
+ },
+ "category": "root",
+ "childIds": [
+ 1
+ ],
+ "class": "container",
+ "id": 0,
+ "parentId": -1,
+ "rotatedBoundingRectangle": [
+ {
+ "x": 6.9099998474121094,
+ "y": 9.9600000381469727
+ },
+ {
+ "x": 91.7899957275305,
+ "y": 9.9600000381469727
+ },
+ {
+ "x": 6.9099998474121094,
+ "y": 53.84999393463135
+ },
+ {
+ "x": 91.78999572753905,
+ "y": 53.84999393463135
+ }
+ ],
+ "strokeIds": [
+ 1,
+ 2
+ ]
}
]
}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Activate.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Activate.json
index 4eba04cbff60..a7bec92839a5 100644
--- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Activate.json
+++ b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Activate.json
@@ -5,9 +5,6 @@
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
- "204": {
- "body": "",
- "header": {}
- }
+ "204": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Reward.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Reward.json
index 947d5410a1dc..78802cdfed80 100644
--- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Reward.json
+++ b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Events_Reward.json
@@ -8,9 +8,6 @@
}
},
"responses": {
- "204": {
- "body": "",
- "header": {}
- }
+ "204": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/readme.go.md b/specification/cognitiveservices/data-plane/QnAMaker/readme.go.md
index 412a87aa9eac..214d27ace71d 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/readme.go.md
+++ b/specification/cognitiveservices/data-plane/QnAMaker/readme.go.md
@@ -5,7 +5,6 @@ These settings apply only when `--go` is specified on the command line.
``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
- namespace: qnamaker
clear-output-folder: true
```
@@ -14,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- tag: release_4_0
+ - tag: runtime_release_4_0
```
### Tag: release_4_0 and go
@@ -22,5 +22,16 @@ These settings apply only when `--tag=release_4_0 --go` is specified on the comm
Please also specify `--go-sdk-folder=`.
``` yaml $(tag) == 'release_4_0' && $(go)
+namespace: qnamaker
output-folder: $(go-sdk-folder)/services/cognitiveservices/v4.0/$(namespace)
-```
\ No newline at end of file
+```
+
+### Tag: runtime_release_4_0 and go
+
+These settings apply only when `--tag=runtime_release_4_0 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'runtime_release_4_0' && $(go)
+namespace: qnamakerruntime
+output-folder: $(go-sdk-folder)/services/cognitiveservices/v4.0/$(namespace)
+```
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulDelKb.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulDelKb.json
index 9f24b4710f4a..bcd50173c37b 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulDelKb.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulDelKb.json
@@ -6,8 +6,6 @@
"kbId": "9d091697-fb8c-4ed5-9ac0-35bf8273bfff"
},
"responses": {
- "204": {
- "body": ""
- }
+ "204": {}
}
}
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 e3b6e57b96f3..5c43799e8249 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
@@ -3126,6 +3126,9 @@
},
"Create a scale set with ephemeral os disks.": {
"$ref": "./examples/CreateAScaleSetWithDiffOsDisk.json"
+ },
+ "Create a scale set with terminate scheduled events enabled.": {
+ "$ref": "./examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json"
}
}
},
@@ -4681,6 +4684,20 @@
"type": "string",
"description": "The instance ID of the virtual machine."
},
+ {
+ "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"
},
@@ -5220,7 +5237,7 @@
},
"HyperVGenerationType": {
"type": "string",
- "description": "Specifies the HyperVGeneration Type for the Virtual Machine created from the image",
+ "description": "Specifies the HyperVGeneration Type",
"enum": [
"V1",
"V2"
@@ -6046,6 +6063,9 @@
},
"automaticOSUpgradeProperties": {
"$ref": "#/definitions/AutomaticOSUpgradeProperties"
+ },
+ "hyperVGeneration": {
+ "$ref": "#/definitions/HyperVGenerationType"
}
},
"description": "Describes the properties of a Virtual Machine Image."
@@ -8498,6 +8518,10 @@
"name": "VirtualMachineEvictionPolicyTypes",
"modelAsString": true
}
+ },
+ "scheduledEventsProfile": {
+ "$ref": "#/definitions/ScheduledEventsProfile",
+ "description": "Specifies Scheduled Event related configurations."
}
},
"description": "Describes a virtual machine scale set virtual machine profile."
@@ -8527,6 +8551,10 @@
"licenseType": {
"type": "string",
"description": "The license type, which is for bring your own license scenario."
+ },
+ "scheduledEventsProfile": {
+ "$ref": "#/definitions/ScheduledEventsProfile",
+ "description": "Specifies Scheduled Event related configurations."
}
},
"description": "Describes a virtual machine scale set virtual machine profile."
@@ -9241,6 +9269,28 @@
},
"description": "The protection policy of a virtual machine scale set VM."
},
+ "ScheduledEventsProfile": {
+ "type": "object",
+ "properties": {
+ "terminateNotificationProfile": {
+ "$ref": "#/definitions/TerminateNotificationProfile",
+ "description": "Specifies Terminate Scheduled Event related configurations."
+ }
+ }
+ },
+ "TerminateNotificationProfile": {
+ "type": "object",
+ "properties": {
+ "notBeforeTimeout": {
+ "type": "string",
+ "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)"
+ },
+ "enable": {
+ "type": "boolean",
+ "description": "Specifies whether the Terminate Scheduled event is enabled or disabled."
+ }
+ }
+ },
"VirtualMachineHealthStatus": {
"properties": {
"status": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json
new file mode 100644
index 000000000000..87e6b25d2c87
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json
@@ -0,0 +1,233 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-03-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "scheduledEventsProfile": {
+ "terminateNotificationProfile": {
+ "enable": true,
+ "notBeforeTimeout": "PT5M"
+ }
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ },
+ "scheduledEventsProfile": {
+ "terminateNotificationProfile": {
+ "enable": true,
+ "notBeforeTimeout": "PT5M"
+ }
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ },
+ "scheduledEventsProfile": {
+ "terminateNotificationProfile": {
+ "enable": true,
+ "notBeforeTimeout": "PT5M"
+ }
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
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 694c0034f14d..5e478800029a 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
@@ -451,7 +451,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "Create or update a simple gallery Image Version.": {
+ "Create or update a simple Gallery Image Version.": {
"$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersion.json"
}
}
@@ -1522,7 +1522,7 @@
},
"osState": {
"type": "string",
- "description": "The allowed values for OS State are 'Generalized'.",
+ "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
"enum": [
"Generalized",
"Specialized"
@@ -1822,7 +1822,7 @@
"description": "A list of data disk images."
}
},
- "description": "This is the storage profile of a gallery Image Version."
+ "description": "This is the storage profile of a Gallery Image Version."
},
"GalleryOSDiskImage": {
"allOf": [
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplication.json
new file mode 100644
index 000000000000..75db97c61c85
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplication.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-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-07-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json
new file mode 100644
index 000000000000..aede7a8eeae6
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json
@@ -0,0 +1,123 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-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-07-01/examples/DeleteAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplication.json
new file mode 100644
index 000000000000..f17c5a1f99eb
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplication.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplicationVersion.json
new file mode 100644
index 000000000000..49369a076b86
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplicationVersion.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName",
+ "galleryApplicationVersionName": "1.0.0"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplication.json
new file mode 100644
index 000000000000..045dde2dcd4d
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplication.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-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-07-01/examples/GetAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersion.json
new file mode 100644
index 000000000000..6fea34a1fd64
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersion.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-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-07-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json
new file mode 100644
index 000000000000..a91a4daf865b
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-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-07-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json
new file mode 100644
index 000000000000..af550ea5e129
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-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-07-01/examples/ListGalleryApplicationsInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationsInAGallery.json
new file mode 100644
index 000000000000..ea07a1d0c8e3
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationsInAGallery.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-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-07-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json
index 01ebe9c7bc32..9af963b8fced 100644
--- 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
@@ -600,6 +600,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": [
@@ -784,15 +1184,170 @@
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
- }
- }
- },
- "definitions": {
- "Gallery": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications": {
+ "get": {
+ "tags": [
+ "GalleryApplications"
+ ],
+ "operationId": "GalleryApplications_ListByGallery",
+ "description": "List gallery Application 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 Application Gallery from which Application Definitions are to be listed."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List gallery Applications in a gallery.": {
+ "$ref": "./examples/ListGalleryApplicationsInAGallery.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions": {
+ "get": {
+ "tags": [
+ "GalleryApplicationVersions"
+ ],
+ "operationId": "GalleryApplicationVersions_ListByGalleryApplication",
+ "description": "List gallery Application Versions in 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 resides."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationVersionList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List gallery Application Versions in a gallery Application Definition.": {
+ "$ref": "./examples/ListGalleryApplicationVersionsInAGalleryApplication.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."
+ },
+ "GalleryApplication": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryProperties"
+ "$ref": "#/definitions/GalleryApplicationProperties"
}
},
"allOf": [
@@ -800,21 +1355,72 @@
"$ref": "#/definitions/Resource"
}
],
- "description": "Specifies information about the Shared Image Gallery that you want to create or update."
+ "description": "Specifies information about the gallery Application Definition that you want to create or update."
},
- "GalleryProperties": {
+ "GalleryApplicationProperties": {
"properties": {
"description": {
"type": "string",
- "description": "The description of this Shared Image Gallery resource. This property is updatable."
+ "description": "The description of this gallery Application Definition resource. This property is updatable."
},
- "identifier": {
- "$ref": "#/definitions/GalleryIdentifier"
+ "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.",
+ "title": "The current state of the gallery Application Version.",
"description": "The provisioning state, which only appears in the response.",
"enum": [
"Creating",
@@ -824,19 +1430,57 @@
"Deleting",
"Migrating"
]
+ },
+ "replicationStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReplicationStatus"
}
},
- "description": "Describes the properties of a Shared Image Gallery."
+ "required": [
+ "publishingProfile"
+ ],
+ "description": "Describes the properties of a gallery Image Version."
},
- "GalleryIdentifier": {
+ "GalleryApplicationVersionPublishingProfile": {
"properties": {
- "uniqueName": {
- "readOnly": true,
+ "source": {
+ "$ref": "#/definitions/UserArtifactSource"
+ },
+ "contentType": {
"type": "string",
- "description": "The unique name of the Shared Image Gallery. This name is generated automatically by Azure."
+ "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."
}
},
- "description": "Describes the gallery unique name."
+ "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": {
@@ -1076,6 +1720,38 @@
"$ref": "#/definitions/TargetRegion"
},
"description": "The target regions where the Image Version is going to be replicated to. This property is updatable."
+ },
+ "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
+ }
}
},
"description": "Describes the basic gallery artifact publishing profile."
@@ -1109,41 +1785,30 @@
],
"description": "Describes the target region information."
},
- "GalleryImageVersionPublishingProfile": {
+ "GalleryArtifactSource": {
"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": {
+ "managedImage": {
+ "$ref": "#/definitions/ManagedArtifact"
+ }
+ },
+ "required": [
+ "managedImage"
+ ],
+ "description": "The source image from which the Image Version is going to be created."
+ },
+ "ManagedArtifact": {
+ "properties": {
+ "id": {
"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
- }
+ "description": "The managed artifact id."
}
},
+ "required": [
+ "id"
+ ],
+ "description": "The managed artifact."
+ },
+ "GalleryImageVersionPublishingProfile": {
"allOf": [
{
"$ref": "#/definitions/GalleryArtifactPublishingProfileBase"
@@ -1181,6 +1846,32 @@
],
"description": "The gallery artifact version source."
},
+ "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."
+ },
"GalleryDiskImage": {
"properties": {
"sizeInGB": {
@@ -1208,32 +1899,6 @@
},
"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": {
@@ -1355,6 +2020,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/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
index e65c0514334d..5bc21e118986 100644
--- 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
@@ -3172,4 +3172,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json
new file mode 100644
index 000000000000..eaa2fbb79191
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json
@@ -0,0 +1,1863 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Container Registry",
+ "description": "Metadata API definition for the Azure Container Registry runtime",
+ "version": "2019-07-15-preview"
+ },
+ "x-ms-parameterized-host": {
+ "hostTemplate": "{url}",
+ "useSchemePrefix": false,
+ "positionInOperation": "first",
+ "parameters": [
+ {
+ "$ref": "#/parameters/Url"
+ }
+ ]
+ },
+ "securityDefinitions": {
+ "registry_auth": {
+ "type": "basic"
+ },
+ "registry_oauth2": {
+ "type": "apiKey",
+ "in": "header",
+ "name": "Authorization"
+ }
+ },
+ "security": [
+ {
+ "registry_auth": [],
+ "registry_oauth2": []
+ }
+ ],
+ "tags": [
+ {
+ "name": "v2",
+ "description": "Root API"
+ },
+ {
+ "name": "Manifest",
+ "description": "Everything about manifests"
+ },
+ {
+ "name": "Tag",
+ "description": "Everything about tags"
+ },
+ {
+ "name": "Layer",
+ "description": "Everything about layers"
+ },
+ {
+ "name": "Repository",
+ "description": "Everything about repository"
+ },
+ {
+ "name": "AcrRepository",
+ "description": "ACR APIs related to repositories"
+ },
+ {
+ "name": "AcrManifest",
+ "description": "ACR APIs related to manifests"
+ },
+ {
+ "name": "AcrTag",
+ "description": "ACR APIs related to tags"
+ }
+ ],
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/v2/": {
+ "get": {
+ "tags": [
+ "v2"
+ ],
+ "description": "Tells whether this Docker Registry instance supports Docker Registry HTTP API v2",
+ "x-ms-examples": {
+ "Check Docker Registry V2 Support": {
+ "$ref": "./examples/GetDockerRegistryV2Support.json"
+ }
+ },
+ "operationId": "GetDockerRegistryV2Support",
+ "responses": {
+ "200": {
+ "description": "Successful response. API v2 supported"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/v2/{name}/tags/list": {
+ "get": {
+ "tags": [
+ "Tag"
+ ],
+ "description": "Fetch the tags under the repository identified by name",
+ "x-ms-examples": {
+ "List tags": {
+ "$ref": "./examples/GetTagList.json"
+ }
+ },
+ "operationId": "GetTagList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Gives a list of tags for the names repository.",
+ "headers": {
+ "Link": {
+ "description": "next paginated result",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/RepositoryTags"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/v2/{name}/manifests/{reference}": {
+ "get": {
+ "tags": [
+ "Manifest"
+ ],
+ "description": "Pulls the image manifest file associated with the specified name and reference. Reference may be a tag or a digest",
+ "x-ms-examples": {
+ "Get manifest": {
+ "$ref": "./examples/GetManifest.json"
+ }
+ },
+ "operationId": "GetManifest",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ImageReference"
+ },
+ {
+ "name": "accept",
+ "in": "header",
+ "description": "Accept header string delimited by comma. For example, application/vnd.docker.distribution.manifest.v2+json",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns the requested manifest file",
+ "schema": {
+ "$ref": "#/definitions/Manifest"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Manifest"
+ ],
+ "x-ms-long-running-operation": false,
+ "description": "Put the manifest identified by `name` and `reference` where `reference` can be a tag or digest.",
+ "x-ms-examples": {
+ "Put manifest": {
+ "$ref": "./examples/CreateManifest.json"
+ }
+ },
+ "consumes": [
+ "application/vnd.docker.distribution.manifest.v2+json"
+ ],
+ "operationId": "CreateManifest",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ImageReference"
+ },
+ {
+ "$ref": "#/parameters/ManifestBody"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "The manifest is updated",
+ "schema": {},
+ "headers": {
+ "Docker-Content-Digest": {
+ "type": "string",
+ "description": "Identifies the docker upload uuid for the current request."
+ },
+ "Location": {
+ "type": "string",
+ "description": "The canonical location url of the uploaded manifest."
+ },
+ "Content-Length": {
+ "type": "integer",
+ "description": "The canonical location url of the uploaded manifest."
+ }
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Manifest"
+ ],
+ "description": "Delete the manifest identified by `name` and `reference`. Note that a manifest can _only_ be deleted by `digest`.",
+ "x-ms-examples": {
+ "Delete manifest": {
+ "$ref": "./examples/DeleteManifest.json"
+ }
+ },
+ "operationId": "DeleteManifest",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ImageReference"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The manifest has been deleted"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/v2/_catalog": {
+ "get": {
+ "tags": [
+ "Repository"
+ ],
+ "description": "List repositories",
+ "operationId": "GetRepositories",
+ "x-ms-examples": {
+ "Get repositories in a registry": {
+ "$ref": "./examples/GetRepositories.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/QueryLast"
+ },
+ {
+ "$ref": "#/parameters/QueryNum"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns a list of repositories",
+ "headers": {
+ "Link": {
+ "description": "next paginated result",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Repositories"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/_catalog": {
+ "get": {
+ "tags": [
+ "AcrRepository"
+ ],
+ "description": "List repositories",
+ "operationId": "GetAcrRepositories",
+ "x-ms-examples": {
+ "Get repositories in a registry": {
+ "$ref": "./examples/GetRepositories.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/QueryLast"
+ },
+ {
+ "$ref": "#/parameters/QueryNum"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns a list of repositories",
+ "schema": {
+ "$ref": "#/definitions/Repositories"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/{name}": {
+ "get": {
+ "tags": [
+ "AcrRepository",
+ "AcrMetadata"
+ ],
+ "description": "Get repository attributes",
+ "operationId": "GetAcrRepositoryAttributes",
+ "x-ms-examples": {
+ "Get details of repository": {
+ "$ref": "./examples/GetAcrRepositoryAttributes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns a list of attributes",
+ "schema": {
+ "$ref": "#/definitions/RepositoryAttributes"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "AcrRepository"
+ ],
+ "description": "Delete the repository identified by `name`",
+ "operationId": "DeleteAcrRepository",
+ "x-ms-examples": {
+ "Delete a repository": {
+ "$ref": "./examples/DeleteAcrRepository.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The repository is deleted",
+ "schema": {
+ "$ref": "#/definitions/DeletedRepository"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "AcrRepository",
+ "AcrMetadata"
+ ],
+ "description": "Update the attribute identified by `name` where `reference` is the name of the repository.",
+ "operationId": "UpdateAcrRepositoryAttributes",
+ "x-ms-examples": {
+ "Update repository attributes": {
+ "$ref": "./examples/UpdateAcrRepository.json"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "name": "value",
+ "in": "body",
+ "description": "Repository attribute value",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/ChangeableAttributes"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The attributes is updated"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/{name}/_tags": {
+ "get": {
+ "tags": [
+ "AcrTag",
+ "AcrMetadata"
+ ],
+ "description": "List tags of a repository",
+ "operationId": "GetAcrTags",
+ "x-ms-examples": {
+ "Get tags of a repository": {
+ "$ref": "./examples/GetAcrTags.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/QueryLast"
+ },
+ {
+ "$ref": "#/parameters/QueryNum"
+ },
+ {
+ "$ref": "#/parameters/QueryOrderBy"
+ },
+ {
+ "$ref": "#/parameters/QueryDigest"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Tag details of a repository",
+ "schema": {
+ "$ref": "#/definitions/AcrRepositoryTags"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/{name}/_tags/{reference}": {
+ "get": {
+ "tags": [
+ "AcrTag",
+ "AcrMetadata"
+ ],
+ "description": "Get tag attributes by tag",
+ "operationId": "GetAcrTagAttributes",
+ "x-ms-examples": {
+ "Get tag attributes": {
+ "$ref": "./examples/GetAcrTagAttributes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ManifestReference"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Tag attributes",
+ "schema": {
+ "$ref": "#/definitions/AcrTagAttributes"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "AcrTag",
+ "AcrMetadata"
+ ],
+ "description": "Update tag attributes",
+ "operationId": "UpdateAcrTagAttributes",
+ "consumes": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Update attributes of a manifest": {
+ "$ref": "./examples/UpdateAcrTagAttributes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ManifestReference"
+ },
+ {
+ "$ref": "#/parameters/RepoValue"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The attributes are updated"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "AcrTag",
+ "AcrMetadata"
+ ],
+ "description": "Delete tag",
+ "operationId": "DeleteAcrTag",
+ "consumes": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Update attributes of a manifest": {
+ "$ref": "./examples/DeleteAcrTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ManifestReference"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The tag is deleted"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/{name}/_manifests": {
+ "get": {
+ "tags": [
+ "AcrManifest",
+ "AcrMetadata"
+ ],
+ "description": "List manifests of a repository",
+ "operationId": "GetAcrManifests",
+ "x-ms-examples": {
+ "Get details of repository": {
+ "$ref": "./examples/GetAcrManifests.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/QueryLast"
+ },
+ {
+ "$ref": "#/parameters/QueryNum"
+ },
+ {
+ "$ref": "#/parameters/QueryOrderBy"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns a list of manifests",
+ "schema": {
+ "$ref": "#/definitions/AcrManifests"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/{name}/_manifests/{reference}": {
+ "get": {
+ "tags": [
+ "AcrManifest",
+ "AcrMetadata"
+ ],
+ "description": "Get manifest attributes",
+ "operationId": "GetAcrManifestAttributes",
+ "x-ms-examples": {
+ "Get manifest attributes": {
+ "$ref": "./examples/GetAcrManifestAttributes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ImageReference"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of attributes",
+ "schema": {
+ "$ref": "#/definitions/AcrManifestAttributes"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "AcrManifest",
+ "AcrMetadata"
+ ],
+ "description": "Update attributes of a manifest",
+ "operationId": "UpdateAcrManifestAttributes",
+ "consumes": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Update attributes of a manifest": {
+ "$ref": "./examples/UpdateAcrManifestAttributes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ImageReference"
+ },
+ {
+ "$ref": "#/parameters/RepoValue"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The attributes are updated"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/oauth2/exchange": {
+ "post": {
+ "tags": [
+ "AcrToken",
+ "RefreshToken"
+ ],
+ "description": "Exchange AAD tokens for an ACR refresh Token",
+ "operationId": "GetAcrRefreshTokenFromExchange",
+ "consumes": [
+ "application/x-www-form-urlencoded"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/Grant_type"
+ },
+ {
+ "$ref": "#/parameters/Service"
+ },
+ {
+ "$ref": "#/parameters/Tenant"
+ },
+ {
+ "$ref": "#/parameters/RefreshToken"
+ },
+ {
+ "$ref": "#/parameters/AccessToken"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Refresh token acquired",
+ "schema": {
+ "$ref": "#/definitions/RefreshToken"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ },
+ "security": [],
+ "x-ms-examples": {
+ "Exchange AAD Token for ACR Refresh": {
+ "$ref": "./examples/PostRefreshToken.json"
+ }
+ }
+ }
+ },
+ "/oauth2/token": {
+ "post": {
+ "tags": [
+ "AcrToken",
+ "AccessToken"
+ ],
+ "description": "Exchange ACR Refresh token for an ACR Access Token",
+ "operationId": "GetAcrAccessToken",
+ "consumes": [
+ "application/x-www-form-urlencoded"
+ ],
+ "parameters": [
+ {
+ "name": "grant_type",
+ "in": "formData",
+ "description": "Grant type is expected to be refresh_token",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "refresh_token"
+ ]
+ },
+ {
+ "$ref": "#/parameters/Service"
+ },
+ {
+ "name": "scope",
+ "in": "formData",
+ "required": true,
+ "description": "Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You obtained this from the Www-Authenticate response header from the challenge.",
+ "type": "string"
+ },
+ {
+ "name": "refresh_token",
+ "in": "formData",
+ "required": true,
+ "description": "Must be a valid ACR refresh token",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Access token acquired",
+ "schema": {
+ "$ref": "#/definitions/AccessToken"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ },
+ "security": [],
+ "x-ms-examples": {
+ "Get Access Token with Refresh Token": {
+ "$ref": "./examples/PostAccessToken.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "AcrToken",
+ "AccessToken",
+ "userLogin"
+ ],
+ "description": "Exchange Username, Password and Scope an ACR Access Token",
+ "operationId": "GetAcrAccessTokenFromLogin",
+ "parameters": [
+ {
+ "name": "service",
+ "in": "query",
+ "required": true,
+ "description": "Indicates the name of your Azure container registry.",
+ "type": "string"
+ },
+ {
+ "name": "scope",
+ "in": "query",
+ "required": true,
+ "description": "Expected to be a valid scope, and can be specified more than once for multiple scope requests. You can obtain this from the Www-Authenticate response header from the challenge.",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Access token acquired",
+ "schema": {
+ "$ref": "#/definitions/AccessToken"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ },
+ "security": [
+ {
+ "registry_auth": []
+ }
+ ],
+ "x-ms-examples": {
+ "Get Access Token with username and password": {
+ "$ref": "./examples/GetAccessToken.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RepositoryAttributes": {
+ "type": "object",
+ "description": "Repository attributes",
+ "properties": {
+ "registry": {
+ "type": "string",
+ "description": "Registry name"
+ },
+ "imageName": {
+ "type": "string",
+ "description": "Image name"
+ },
+ "createdTime": {
+ "type": "string",
+ "description": "Image created time"
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "description": "Image last update time"
+ },
+ "manifestCount": {
+ "type": "integer",
+ "description": "Number of the manifests"
+ },
+ "tagCount": {
+ "type": "integer",
+ "description": "Number of the tags"
+ },
+ "changeableAttributes": {
+ "description": "Changeable attributes",
+ "$ref": "#/definitions/ChangeableAttributes"
+ }
+ },
+ "example": {
+ "registry": "registryname.azurecr.io",
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "imageName": "imageName",
+ "createdTime": "2018-09-07T16:30:46.6583219Z",
+ "tagCount": 6,
+ "manifestCount": 2,
+ "lastUpdateTime": "2018-09-07T16:30:46.6583219Z"
+ }
+ },
+ "AcrRepositoryTags": {
+ "description": "List of tag details",
+ "properties": {
+ "registry": {
+ "type": "string",
+ "description": "Registry name"
+ },
+ "imageName": {
+ "type": "string",
+ "description": "Image name"
+ },
+ "tags": {
+ "type": "array",
+ "x-ms-client-name": "TagsAttributes",
+ "description": "List of tag attribute details",
+ "items": {
+ "$ref": "#/definitions/AcrTagAttributesBase"
+ }
+ }
+ },
+ "example": {
+ "registry": "registry",
+ "imageName": "imageName",
+ "tags": [
+ {
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "name": "name",
+ "digest": "digest",
+ "createdTime": "createdTime",
+ "signed": true,
+ "lastUpdateTime": "lastUpdateTime"
+ },
+ {
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "name": "name",
+ "digest": "digest",
+ "createdTime": "createdTime",
+ "signed": true,
+ "lastUpdateTime": "lastUpdateTime"
+ }
+ ]
+ }
+ },
+ "AcrTagAttributes": {
+ "description": "Tag attributes",
+ "properties": {
+ "registry": {
+ "type": "string",
+ "description": "Registry name"
+ },
+ "imageName": {
+ "type": "string",
+ "description": "Image name"
+ },
+ "tag": {
+ "x-ms-client-name": "TagAttributes",
+ "description": "List of tag attribute details",
+ "$ref": "#/definitions/AcrTagAttributesBase"
+ }
+ },
+ "example": {
+ "registry": "registry",
+ "imageName": "imageName",
+ "tag": {
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "name": "name",
+ "digest": "digest",
+ "createdTime": "createdTime",
+ "signed": true,
+ "lastUpdateTime": "lastUpdateTime"
+ }
+ }
+ },
+ "TagAttributes": {
+ "description": "Tag attributes",
+ "properties": {
+ "registry": {
+ "description": "Registry name",
+ "type": "string"
+ },
+ "imageName": {
+ "description": "Image name",
+ "type": "string"
+ },
+ "tag": {
+ "$ref": "#/definitions/TagAttributes_tag",
+ "description": "Tag attributes"
+ }
+ },
+ "example": {
+ "registry": "registry",
+ "imageName": "imageName",
+ "tag": {
+ "signatureRecord": "signatureRecord"
+ }
+ }
+ },
+ "AcrTagAttributesBase": {
+ "description": "Tag attribute details",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Tag name"
+ },
+ "digest": {
+ "type": "string",
+ "description": "Tag digest"
+ },
+ "createdTime": {
+ "type": "string",
+ "description": "Tag created time"
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "description": "Tag last update time"
+ },
+ "signed": {
+ "type": "boolean",
+ "description": "Is signed"
+ },
+ "changeableAttributes": {
+ "$ref": "#/definitions/ChangeableAttributes",
+ "description": "Changeable attributes"
+ }
+ },
+ "example": {
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "name": "tagname",
+ "digest": "sha256:0873c923e00e0fd2ba78041bfb64a105e1ecb7678916d1f7776311e45bf5634b",
+ "createdTime": "2018-08-10T17:28:44.1082945Z",
+ "signed": true,
+ "lastUpdateTime": "2018-08-10T17:28:44.1082945Z"
+ }
+ },
+ "AcrManifests": {
+ "description": "Manifest attributes",
+ "properties": {
+ "registry": {
+ "type": "string",
+ "description": "Registry name"
+ },
+ "imageName": {
+ "type": "string",
+ "description": "Image name"
+ },
+ "manifests": {
+ "x-ms-client-name": "ManifestsAttributes",
+ "type": "array",
+ "description": "List of manifests",
+ "items": {
+ "$ref": "#/definitions/AcrManifestAttributesBase",
+ "description": "Manifest details"
+ }
+ }
+ },
+ "example": {
+ "registry": "registry",
+ "imageName": "imageName",
+ "manifests": [
+ {
+ "changeableAttributes": {
+ "quarantineDetails": "quarantineDetails",
+ "readEnabled": true,
+ "quarantineState": "quarantineState",
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "os": "os",
+ "digest": "digest",
+ "imageSize": 2401606,
+ "createdTime": "createdTime",
+ "mediaType": "mediaType",
+ "configMediaType": "configMediaType",
+ "lastUpdateTime": "lastUpdateTime",
+ "architecture": "architecture",
+ "tags": [
+ "tags",
+ "tags"
+ ]
+ },
+ {
+ "changeableAttributes": {
+ "quarantineDetails": "quarantineDetails",
+ "readEnabled": true,
+ "quarantineState": "quarantineState",
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "os": "os",
+ "digest": "digest",
+ "imageSize": 2401606,
+ "createdTime": "createdTime",
+ "mediaType": "mediaType",
+ "configMediaType": "configMediaType",
+ "lastUpdateTime": "lastUpdateTime",
+ "architecture": "architecture",
+ "tags": [
+ "tags",
+ "tags"
+ ]
+ }
+ ]
+ }
+ },
+ "AcrManifestAttributes": {
+ "description": "Manifest attributes details",
+ "properties": {
+ "registry": {
+ "description": "Registry name",
+ "type": "string"
+ },
+ "imageName": {
+ "description": "Image name",
+ "type": "string"
+ },
+ "manifest": {
+ "x-ms-client-name": "ManifestAttributes",
+ "description": "Manifest attributes",
+ "$ref": "#/definitions/AcrManifestAttributesBase"
+ }
+ },
+ "example": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "nanoserver",
+ "manifest": {
+ "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086",
+ "imageSize": 2401606,
+ "createdTime": "2018-09-06T06:17:20.9983915Z",
+ "lastUpdateTime": "2018-09-06T06:17:20.9983915Z",
+ "architecture": "amd64",
+ "os": "windows",
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "configMediaType": "application/vnd.docker.container.image.v1+json",
+ "tags": [
+ "4.7.2-20180905-nanoserver-1803"
+ ],
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ }
+ },
+ "AcrManifestAttributesBase": {
+ "type": "object",
+ "description": "Manifest details",
+ "properties": {
+ "digest": {
+ "type": "string",
+ "description": "Manifest"
+ },
+ "imageSize": {
+ "type": "integer",
+ "description": "Image size"
+ },
+ "createdTime": {
+ "type": "string",
+ "description": "Created time"
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "description": "Last update time"
+ },
+ "architecture": {
+ "type": "string",
+ "description": "CPU architecture"
+ },
+ "os": {
+ "type": "string",
+ "description": "Operating system"
+ },
+ "mediaType": {
+ "type": "string",
+ "description": "Media type"
+ },
+ "configMediaType": {
+ "type": "string",
+ "description": "Config blob media type"
+ },
+ "tags": {
+ "type": "array",
+ "description": "List of tags",
+ "items": {
+ "type": "string",
+ "description": "Tag name"
+ }
+ },
+ "changeableAttributes": {
+ "$ref": "#/definitions/ChangeableAttributes",
+ "description": "Changeable attributes"
+ }
+ },
+ "example": {
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "os": "os",
+ "digest": "digest",
+ "imageSize": 2401606,
+ "createdTime": "createdTime",
+ "mediaType": "mediaType",
+ "configMediaType": "configMediaType",
+ "lastUpdateTime": "lastUpdateTime",
+ "architecture": "architecture",
+ "tags": [
+ "tags",
+ "tags"
+ ]
+ }
+ },
+ "RefreshToken": {
+ "type": "object",
+ "properties": {
+ "refresh_token": {
+ "description": "The refresh token to be used for generating access tokens",
+ "type": "string"
+ }
+ }
+ },
+ "AccessToken": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "description": "The access token for performing authenticated requests",
+ "type": "string"
+ }
+ }
+ },
+ "AcrErrors": {
+ "description": "Acr error response describing why the operation failed",
+ "properties": {
+ "errors": {
+ "type": "array",
+ "description": "Array of detailed error",
+ "items": {
+ "$ref": "#/definitions/AcrErrorInfo"
+ }
+ }
+ }
+ },
+ "RepositoryTags": {
+ "description": "Result of the request to list tags of the image",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the image"
+ },
+ "tags": {
+ "type": "array",
+ "description": "List of tags",
+ "items": {
+ "type": "string",
+ "description": "Tag name"
+ }
+ }
+ },
+ "example": {
+ "name": "name",
+ "tags": [
+ "tags",
+ "tags"
+ ]
+ }
+ },
+ "Manifest": {
+ "description": "Returns the requested manifest file",
+ "properties": {
+ "schemaVersion": {
+ "type": "integer",
+ "description": "Schema version"
+ },
+ "mediaType": {
+ "type": "string",
+ "description": "Media type usually application/vnd.docker.distribution.manifest.v2+json if this is in the accept header"
+ },
+ "config": {
+ "description": "V2 image config descriptor",
+ "$ref": "#/definitions/V2Descriptor"
+ },
+ "layers": {
+ "type": "array",
+ "description": "List of V2 image layer information",
+ "items": {
+ "$ref": "#/definitions/V2Descriptor"
+ }
+ },
+ "architecture": {
+ "type": "string",
+ "description": "CPU architecture"
+ },
+ "name": {
+ "type": "string",
+ "description": "Image name"
+ },
+ "tag": {
+ "type": "string",
+ "description": "Image tag"
+ },
+ "fsLayers": {
+ "type": "array",
+ "description": "List of layer information",
+ "items": {
+ "$ref": "#/definitions/FsLayer"
+ }
+ },
+ "history": {
+ "type": "array",
+ "description": "Image history",
+ "items": {
+ "$ref": "#/definitions/History"
+ }
+ },
+ "signatures": {
+ "type": "array",
+ "description": "Image signature",
+ "items": {
+ "$ref": "#/definitions/ImageSignature"
+ }
+ }
+ },
+ "example": {
+ "schemaVersion": 2,
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "config": {
+ "mediaType": "application/vnd.docker.container.image.v1+json",
+ "size": 1512,
+ "digest": "sha256:6d1ef012b5674ad8a127ecfa9b5e6f5178d171b90ee462846974177fd9bdd39f"
+ },
+ "layers": [
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 2107098,
+ "digest": "sha256:5d20c808ce198565ff70b3ed23a991dd49afac45dece63474b27ce6ed036adc6"
+ }
+ ]
+ }
+ },
+ "ImageSignature": {
+ "description": "Signature of a signed manifest",
+ "properties": {
+ "header": {
+ "description": "A JSON web signature",
+ "$ref": "#/definitions/JWK"
+ },
+ "signature": {
+ "type": "string",
+ "description": "A signature for the image manifest, signed by a libtrust private key"
+ },
+ "protected": {
+ "type": "string",
+ "description": "The signed protected header"
+ }
+ },
+ "example": {
+ "header": {
+ "jwk": {
+ "crv": "P-256",
+ "kid": "WGXM:EYWQ:DA53:LQUP:BCWG:5RDG:S3ZM:ETH7:VMQS:WWKZ:EWDG:V74Q",
+ "kty": "EC",
+ "x": "OxZ9k5BVjPZ7jb3BmBD4X0d8MVPJqfF4NeSe8reoqnY",
+ "y": "EaCqTe4-vYwhk7qU6Bs2-AeLGOVtCe_-IY2MdE0Vfyc"
+ },
+ "alg": "ES256"
+ },
+ "signature": "p73LfotMGD8nNXz2g9YX2XtSllb4GI5-b3vjqP5N0nkv8QXg-r5z_omGiVbOZE2BYG1X_4TIN23l1KSEqsXxOg",
+ "protected": "eyJmb3JtYXRMZW5ndGgiOjI5ODYsImZvcm1hdFRhaWwiOiJDbjAiLCJ0aW1lIjoiMjAxOC0wOS0yMFQyMzo0MTo1MloifQ"
+ }
+ },
+ "JWK": {
+ "description": "A JSON web signature",
+ "properties": {
+ "jwk": {
+ "$ref": "#/definitions/JWKHeader"
+ },
+ "alg": {
+ "type": "string",
+ "description": "The algorithm used to sign or encrypt the JWT"
+ }
+ }
+ },
+ "JWKHeader": {
+ "description": "JSON web key parameter",
+ "properties": {
+ "crv": {
+ "type": "string",
+ "description": "crv value"
+ },
+ "kid": {
+ "type": "string",
+ "description": "kid value"
+ },
+ "kty": {
+ "type": "string",
+ "description": "kty value"
+ },
+ "x": {
+ "type": "string",
+ "description": "x value"
+ },
+ "y": {
+ "type": "string",
+ "description": "y value"
+ }
+ }
+ },
+ "History": {
+ "description": "A list of unstructured historical data for v1 compatibility",
+ "properties": {
+ "v1Compatibility": {
+ "type": "string",
+ "description": "The raw v1 compatibility information"
+ }
+ },
+ "example": {
+ "v1Compatibility": "v1 compatibility info"
+ }
+ },
+ "Repositories": {
+ "description": "List of repositories",
+ "properties": {
+ "repositories": {
+ "type": "array",
+ "x-ms-client-name": "Names",
+ "description": "Repository names",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "example": {
+ "repositories": [
+ "production/alpine",
+ "testing/alpine"
+ ]
+ }
+ },
+ "DeletedRepository": {
+ "description": "Deleted repository",
+ "properties": {
+ "manifestsDeleted": {
+ "type": "array",
+ "description": "SHA of the deleted image",
+ "items": {
+ "type": "string"
+ }
+ },
+ "tagsDeleted": {
+ "type": "array",
+ "description": "Tag of the deleted image",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "AcrErrorInfo": {
+ "description": "Error information",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message"
+ },
+ "detail": {
+ "type": "object",
+ "description": "Error details"
+ }
+ }
+ },
+ "FsLayer": {
+ "description": "Image layer information",
+ "properties": {
+ "blobSum": {
+ "type": "string",
+ "description": "SHA of an image layer"
+ }
+ },
+ "example": {
+ "blobSum": "sha256:1f7d468f830cb0ed4beb8edc9438f18096e8c682e56a35242f60e6c61b718b30"
+ }
+ },
+ "V2Descriptor": {
+ "description": "Docker V2 image layer descriptor including config and layers",
+ "properties": {
+ "mediaType": {
+ "type": "string",
+ "description": "Layer media type"
+ },
+ "size": {
+ "type": "integer",
+ "description": "Layer size"
+ },
+ "digest": {
+ "type": "string",
+ "description": "Layer digest"
+ }
+ },
+ "example": {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 2107098,
+ "digest": "sha256:5d20c808ce198565ff70b3ed23a991dd49afac45dece63474b27ce6ed036adc6"
+ }
+ },
+ "ChangeableAttributes": {
+ "properties": {
+ "deleteEnabled": {
+ "type": "boolean",
+ "description": "Delete enabled"
+ },
+ "writeEnabled": {
+ "type": "boolean",
+ "description": "Write enabled"
+ },
+ "listEnabled": {
+ "type": "boolean",
+ "description": "List enabled"
+ },
+ "readEnabled": {
+ "type": "boolean",
+ "description": "Read enabled"
+ }
+ },
+ "example": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ }
+ },
+ "TagAttributes_tag": {
+ "description": "Tag",
+ "properties": {
+ "signatureRecord": {
+ "description": "SignatureRecord value",
+ "type": "string"
+ }
+ },
+ "example": {
+ "signatureRecord": "signatureRecord"
+ }
+ },
+ "ManifestAttributes_manifest_references": {
+ "description": "Manifest attributes details",
+ "properties": {
+ "digest": {
+ "type": "string",
+ "description": "Manifest digest"
+ },
+ "architecture": {
+ "type": "string",
+ "description": "CPU architecture"
+ },
+ "os": {
+ "type": "string",
+ "description": "Operating system"
+ }
+ },
+ "example": {
+ "os": "os",
+ "digest": "digest",
+ "architecture": "architecture"
+ }
+ },
+ "ManifestAttributes_manifest": {
+ "description": "List of manifest attributes",
+ "properties": {
+ "references": {
+ "type": "array",
+ "description": "List of manifest attributes details",
+ "items": {
+ "$ref": "#/definitions/ManifestAttributes_manifest_references",
+ "description": "Manifest attributes details"
+ }
+ },
+ "quarantineTag": {
+ "type": "string",
+ "description": "Quarantine tag name"
+ }
+ },
+ "example": {
+ "quarantineTag": "quarantineTag",
+ "references": [
+ {
+ "os": "os",
+ "digest": "digest",
+ "architecture": "architecture"
+ },
+ {
+ "os": "os",
+ "digest": "digest",
+ "architecture": "architecture"
+ }
+ ]
+ }
+ },
+ "ManifestChangeableAttributes": {
+ "description": "Changeable attributes",
+ "properties": {
+ "deleteEnabled": {
+ "type": "boolean",
+ "description": "Delete enabled"
+ },
+ "writeEnabled": {
+ "type": "boolean",
+ "description": "Write enabled"
+ },
+ "listEnabled": {
+ "type": "boolean",
+ "description": "List enabled"
+ },
+ "readEnabled": {
+ "type": "boolean",
+ "description": "Read enabled"
+ },
+ "quarantineState": {
+ "type": "string",
+ "description": "Quarantine state"
+ },
+ "quarantineDetails": {
+ "type": "string",
+ "description": "Quarantine details"
+ }
+ },
+ "example": {
+ "quarantineDetails": "quarantineDetails",
+ "readEnabled": true,
+ "quarantineState": "quarantineState",
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ }
+ }
+ },
+ "parameters": {
+ "Url": {
+ "name": "url",
+ "x-ms-client-name": "loginUri",
+ "description": "Registry login URL",
+ "required": true,
+ "type": "string",
+ "in": "path",
+ "x-ms-skip-url-encoding": true,
+ "x-ms-parameter-location": "client"
+ },
+ "ImageReference": {
+ "name": "reference",
+ "in": "path",
+ "description": "A tag or a digest, pointing to a specific image",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManifestReference": {
+ "name": "reference",
+ "in": "path",
+ "description": "Tag or digest of the target manifest",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Digest": {
+ "name": "digest",
+ "in": "path",
+ "description": "Digest of a desired BLOB",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "metadata": {
+ "name": "metadata",
+ "in": "path",
+ "description": "Name of the metadata",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "property": {
+ "name": "property",
+ "in": "path",
+ "description": "Name of the property",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "RepoValue": {
+ "name": "value",
+ "in": "body",
+ "description": "Repository attribute value",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/ChangeableAttributes"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "QueryOrderBy": {
+ "name": "orderby",
+ "in": "query",
+ "description": "orderby query parameter",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "QueryNum": {
+ "name": "n",
+ "in": "query",
+ "description": "query parameter for max number of items",
+ "required": false,
+ "type": "integer",
+ "x-ms-parameter-location": "method"
+ },
+ "QueryLast": {
+ "name": "last",
+ "in": "query",
+ "description": "Query parameter for the last item in previous query. Result set will include values lexically after last.",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "QueryDigest": {
+ "name": "digest",
+ "in": "query",
+ "description": "filter by digest",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Grant_type": {
+ "name": "grant_type",
+ "description": "Can take a value of access_token_refresh_token, or access_token, or refresh_token",
+ "type": "string",
+ "in": "formData",
+ "required": true,
+ "enum": [
+ "access_token_refresh_token",
+ "access_token",
+ "refresh_token"
+ ],
+ "x-ms-parameter-location": "method"
+ },
+ "Service": {
+ "name": "service",
+ "in": "formData",
+ "required": true,
+ "description": "Indicates the name of your Azure container registry.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Tenant": {
+ "name": "tenant",
+ "in": "formData",
+ "required": false,
+ "description": "AAD tenant associated to the AAD credentials.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Scope": {
+ "name": "scope",
+ "in": "formData",
+ "required": true,
+ "description": "Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You can obtain this from the Www-Authenticate response header from the challenge.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "RefreshToken": {
+ "name": "refresh_token",
+ "in": "formData",
+ "required": false,
+ "description": "AAD refresh token, mandatory when grant_type is access_token_refresh_token or refresh_token",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "AccessToken": {
+ "name": "access_token",
+ "in": "formData",
+ "required": false,
+ "description": "AAD access token, mandatory when grant_type is access_token_refresh_token or access_token.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ImageName": {
+ "name": "name",
+ "in": "path",
+ "description": "Name of the image (including the namespace)",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManifestBody": {
+ "description": "Manifest body, can take v1 or v2 values depending on accept header",
+ "name": "payload",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Manifest"
+ },
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/CreateManifest.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/CreateManifest.json
new file mode 100644
index 000000000000..9009925c6027
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/CreateManifest.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "hello-world",
+ "reference": "a20190628-081044z",
+ "payload": "{\"schemaVersion\":2,\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"config\":{\"mediaType\":\"application/vnd.docker.container.image.v1+json\",\"size\":1512,\"digest\":\"sha256:6d1ef012b5674ad8a127ecfa9b5e6f5178d171b90ee462846974177fd9bdd39f\"},\"layers\":[{\"mediaType\":\"application/vnd.docker.image.rootfs.diff.tar.gzip\",\"size\":2107098,\"digest\":\"sha256:5d20c808ce198565ff70b3ed23a991dd49afac45dece63474b27ce6ed036adc6\"}]}"
+ },
+ "responses": {
+ "201": {
+ "headers": {
+ "Docker-Content-Digest": "sha256:15685c48490175b7dde62e6bfcfb54d9420c6495ea6404776e2facca3da93cd8",
+ "Location": "/v2/hello-world/manifests/sha256:15685c48490175b7dde62e6bfcfb54d9420c6495ea6404776e2facca3da93cd8",
+ "Content-Length": 0
+ },
+ "body": {}
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrRepository.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrRepository.json
new file mode 100644
index 000000000000..8449e47855ec
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrRepository.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver"
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "manifestsDeleted": [
+ "sha256:e31831d63f77a0a6d74ef5b16df619a50808dac842190d07ae24e8b520d159fa"
+ ],
+ "tagsDeleted": [
+ "4.7.2-20180814-windowsservercore-1709"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrTag.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrTag.json
new file mode 100644
index 000000000000..fec441eeaf12
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrTag.json
@@ -0,0 +1,10 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver",
+ "reference": "4.7.2-20180905-nanoserver-1803"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteManifest.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteManifest.json
new file mode 100644
index 000000000000..50afe0bd523e
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteManifest.json
@@ -0,0 +1,10 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "alpine",
+ "reference": "3.7"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAccessToken.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAccessToken.json
new file mode 100644
index 000000000000..416fd08ca49b
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAccessToken.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "service": "someregistry.azurecr.io",
+ "scope": "registry:catalog:*"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access_token": "eyJ0eXAiOiJKJhbGcigdCI6IkN0ZlFaOExlLTMejlnIiwidGlkIjoiNzbmOTgWItMmQ3Y2QwMTFkYjQ3Ii..."
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifestAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifestAttributes.json
new file mode 100644
index 000000000000..a8163814b8c1
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifestAttributes.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver",
+ "reference": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "nanoserver",
+ "manifest": {
+ "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086",
+ "imageSize": 2401606,
+ "createdTime": "2018-09-06T06:17:20.9983915Z",
+ "lastUpdateTime": "2018-09-06T06:17:20.9983915Z",
+ "architecture": "amd64",
+ "os": "windows",
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "configMediaType": "application/vnd.docker.container.image.v1+json",
+ "tags": [
+ "4.7.2-20180905-nanoserver-1803"
+ ],
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifests.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifests.json
new file mode 100644
index 000000000000..08eaec214eca
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifests.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "nanoserver",
+ "manifests": [
+ {
+ "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086",
+ "imageSize": 2401606,
+ "createdTime": "2018-09-06T06:17:20.9983915Z",
+ "lastUpdateTime": "2018-09-06T06:17:20.9983915Z",
+ "architecture": "amd64",
+ "os": "windows",
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "configMediaType": "application/vnd.docker.container.image.v1+json",
+ "tags": [
+ "4.7.2-20180905-nanoserver-1803"
+ ],
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ },
+ {
+ "digest": "sha256:7af5cd1dde3e8f5c2c9103860afa4ca871a6075373b6564b0e7b1b47866dab52",
+ "imageSize": 4135121,
+ "createdTime": "2018-09-07T16:30:46.5651701Z",
+ "lastUpdateTime": "2018-09-07T16:30:46.5651701Z",
+ "architecture": "amd64",
+ "os": "windows",
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "configMediaType": "application/vnd.docker.container.image.v1+json",
+ "tags": [
+ "4.7.2-20180906-nanoserver-1803"
+ ],
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrRepositoryAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrRepositoryAttributes.json
new file mode 100644
index 000000000000..c6791683bfd2
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrRepositoryAttributes.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "nanoserver",
+ "createdTime": "2018-09-06T06:17:20.9531248Z",
+ "lastUpdateTime": "2018-09-07T16:30:46.6583219Z",
+ "manifestCount": 2,
+ "tagCount": 2,
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTagAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTagAttributes.json
new file mode 100644
index 000000000000..ed58c44d6f71
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTagAttributes.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "test/bash",
+ "reference": "sha256:eabe547f78d4c18c708dd97ec3166cf7464cc651f1cbb67e7afas407405b7ad7b6"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "test/bash",
+ "tag": {
+ "name": "tagName",
+ "digest": "sha256:eabe547f78d4c18c708dd97ec3166cf7464cc651f1cbb67e70d407405b7ad7b6",
+ "createdTime": "2018-10-05T20:54:24.1286047Z",
+ "lastUpdateTime": "2018-10-05T20:54:24.1286047Z",
+ "signed": false,
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": false,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTags.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTags.json
new file mode 100644
index 000000000000..e5342cd2295f
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTags.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "nanoserver",
+ "tags": [
+ {
+ "name": "4.7.2-20180905-nanoserver-1803",
+ "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086",
+ "createdTime": "2018-09-06T06:17:21.0856539Z",
+ "lastUpdateTime": "2018-09-06T06:17:21.0856539Z",
+ "signed": false,
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ },
+ {
+ "name": "4.7.2-20180906-nanoserver-1803",
+ "digest": "sha256:7af5cd1dde3e8f5c2c9103860afa4ca871a6075373b6564b0e7b1b47866dab52",
+ "createdTime": "2018-09-06T16:30:43.3860166Z",
+ "lastUpdateTime": "2018-09-07T16:30:46.7022734Z",
+ "signed": false,
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetDockerRegistryV2Support.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetDockerRegistryV2Support.json
new file mode 100644
index 000000000000..181e2eec438e
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetDockerRegistryV2Support.json
@@ -0,0 +1,8 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetManifest.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetManifest.json
new file mode 100644
index 000000000000..2768e76d6a0d
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetManifest.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "hello-world-dangling",
+ "reference": "20190628-033033z",
+ "accept": "application/vnd.docker.distribution.manifest.v2+json"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "schemaVersion": 2,
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "config": {
+ "mediaType": "application/vnd.docker.container.image.v1+json",
+ "size": 5824,
+ "digest": "sha256:691fbc2d44fff48357bba69ab0505b9bf12b2b250a925a84a0b8e8e7eed390b2"
+ },
+ "layers": [
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 2014658,
+ "digest": "sha256:a073c86ecf9e0f29180e80e9638d4c741970695851ea48247276c32c57e40282"
+ },
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 19778035,
+ "digest": "sha256:0e28711eb56d78f1e3dfde1807eba529d1346222bcd07d1cb1e436a18a0388bd"
+ },
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 1074044,
+ "digest": "sha256:e460dd483fddb555911f7ed188c319fd97542c60e36843dcb1c5d753f733e1fa"
+ },
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 5827,
+ "digest": "sha256:6aa301222093bfb8cf424ccb387f59e2c9510c3a30cca7fbcf8c954f88e6600c"
+ },
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 568,
+ "digest": "sha256:9c5d80083a57d565f684e0155707204d497a5ad965279f92927452f15dae17e6"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetRepositories.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetRepositories.json
new file mode 100644
index 000000000000..4b6864e0ea95
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetRepositories.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "repositories": [
+ "production/alpine",
+ "testing/alpine"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetTagList.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetTagList.json
new file mode 100644
index 000000000000..c1e81b2f664e
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetTagList.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "nanoserver",
+ "tags": [
+ "4.7.2-20180905-nanoserver-1803",
+ "4.7.2-20180906-nanoserver-1803"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostAccessToken.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostAccessToken.json
new file mode 100644
index 000000000000..a4e6293133b5
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostAccessToken.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "grant_type": "refresh_token",
+ "service": "someregistry.azurecr.io",
+ "scope": "registry:catalog:*",
+ "refresh_token": "eyJ0eXAiOiJKJhbGci1dCI6IkN0ZlFDOExlLTMejlnIiwidGlkIjoiNzJmOTgWItMmQ3Y2QwMTFkYjQ3Ii..."
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access_token": "eyJ0eXAiOiJKJhbGcigdCI6IkN0ZlFaOExlLTMejlnIiwidGlkIjoiNzbmOTgWItMmQ3Y2QwMTFkYjQ3Ii..."
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostRefreshToken.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostRefreshToken.json
new file mode 100644
index 000000000000..768ca1680ba1
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostRefreshToken.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "grant_type": "access_token",
+ "url": "acrapi.azurecr-test.io",
+ "service": "someregistry.azurecr.io",
+ "tenant": "02f900bf-86f1-31af-p1ab-2b7cd0nndb47",
+ "accessToken": "eyJ0eXAiOiJKJhbGci1dCI6IkN0ZlFDOExlLTMejlnIiwidGlkIjoiNzJmOTgWItMmQ3Y2QwMTFkYjQ3Ii..."
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "refresh_token": "eyJ0eXAiOiJKJhbGcigdCI6IkN0ZlFaOExlLTMejlnIiwidGlkIjoiNzbmOTgWItMmQ3Y2QwMTFkYjQ3Ii..."
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrManifestAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrManifestAttributes.json
new file mode 100644
index 000000000000..4c25514ab2f2
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrManifestAttributes.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver",
+ "reference": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086",
+ "value": "{\"writeEnabled\": false}"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrRepository.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrRepository.json
new file mode 100644
index 000000000000..14a61f118d0f
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrRepository.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver",
+ "value": {
+ "writeEnabled": false
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrTagAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrTagAttributes.json
new file mode 100644
index 000000000000..16e13e3c4ec2
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrTagAttributes.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver",
+ "reference": "4.7.2-20180905-nanoserver-1803",
+ "value": "{\"writeEnabled\": false}"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/readme.go.md b/specification/containerregistry/data-plane/readme.go.md
new file mode 100644
index 000000000000..97ef4154aa73
--- /dev/null
+++ b/specification/containerregistry/data-plane/readme.go.md
@@ -0,0 +1,27 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+``` yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: containerregistry
+ clear-output-folder: true
+ add-credentials: true
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-07
+```
+
+### Tag: package-2019-07 and go
+
+These settings apply only when `--tag=package-2019-07 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-07' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/runtime/2019-07/$(namespace)
+```
diff --git a/specification/containerregistry/data-plane/readme.md b/specification/containerregistry/data-plane/readme.md
index 7a48a2056db5..9c7cc320a2ec 100644
--- a/specification/containerregistry/data-plane/readme.md
+++ b/specification/containerregistry/data-plane/readme.md
@@ -1,13 +1,13 @@
# ContainerRegistry
-
+
> see https://aka.ms/autorest
This is the AutoRest configuration file for ContainerRegistry.
+---
+## Getting Started
----
-## Getting Started
To build the SDK for ContainerRegistry, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
> `autorest`
@@ -19,14 +19,23 @@ To see additional help and options, run:
## Configuration
+### Basic Information
-#### Basic Information
These are the global settings for the ContainerRegistry API.
``` yaml
-# common
+# common
openapi-type: data-plane
-tag: package-2018-08
+tag: package-2019-07
+```
+
+### Tag: package-2019-07
+
+These settings apply only when `--tag=package-2019-07` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-07'
+input-file:
+- Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json
```
### Tag: package-2018-08
@@ -39,7 +48,6 @@ input-file:
```
---
-# Code Generation
## Swagger to SDK
@@ -49,6 +57,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-net
+ - repo: azure-sdk-for-go
```
## C#
@@ -62,7 +71,29 @@ csharp:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.ContainerRegistry
sync-methods: None
- output-folder: $(csharp-sdks-folder)/ContainerRegistry/Microsoft.Azure.ContainerRegistry/src/Generated
+ output-folder: $(csharp-sdks-folder)/ContainerRegistry/preview/Microsoft.Azure.ContainerRegistry/src/Generated
clear-output-folder: true
add-credentials: true
+```
+
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
+
+## Suppression
+
+``` yaml
+directive:
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ from: containerregistry.json
+ where: $.definitions.AccessToken.properties.access_token
+ reason: Property name is used in compliance with Docker's own specs for compatibility purposes. Specifics https://docs.docker.com/registry/spec/auth/oauth/
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ from: containerregistry.json
+ where: $.definitions.RefreshToken.properties.refresh_token
+ reason: Property name is used in compliance with Docker's own specs for compatibility purposes. Specifics https://docs.docker.com/registry/spec/auth/oauth/
+ - suppress: LROStatusCodesReturnTypeSchema
+ reason: No content is returned by put Manifest in compliance with Docker's own specs for compatibility purposes. Specifics https://docs.docker.com/registry/spec/api/#put-manifest
+ from: containerregistry.json
+ where: $.paths["/v2/{name}/manifests/{reference}"].put.responses["201"]
```
\ No newline at end of file
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 5afff68434b9..737d0bcbd885 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
@@ -111,7 +111,7 @@
"type": "Microsoft.CustomerInsights/hubs/profiles"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
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 5afff68434b9..737d0bcbd885 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
@@ -111,7 +111,7 @@
"type": "Microsoft.CustomerInsights/hubs/profiles"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
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 27d6c0b10ee1..53b1e531c3b8 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
@@ -26,8 +26,6 @@
}
},
"responses": {
- "204": {
- "body": ""
- }
+ "204": {}
}
}
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 a8d3fce74ad3..7aecaf824e8c 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
@@ -60,9 +60,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"200": {
"body": {
"properties": {
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 c6e0b8f29e28..a1ab18e456e4 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
@@ -17,11 +17,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
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 75d9a8fa2cd4..2a7b81772c4d 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
@@ -47,9 +47,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"200": {
"body": {
"properties": {
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 987f1e3df0be..9cfa78d3833d 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
@@ -2851,6 +2851,51 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun": {
+ "post": {
+ "tags": [
+ "triggerruns"
+ ],
+ "operationId": "TriggerRuns_Rerun",
+ "x-ms-examples": {
+ "Triggers_Rerun": {
+ "$ref": "./examples/TriggerRuns_Rerun.json"
+ }
+ },
+ "description": "Rerun single trigger instance by runId.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/factoryName"
+ },
+ {
+ "$ref": "#/parameters/triggerName"
+ },
+ {
+ "$ref": "#/parameters/runId"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "TriggerRun has been restarted."
+ },
+ "default": {
+ "description": "An error response received from the Azure Data Factory service.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}": {
"put": {
"tags": [
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 89d826313586..d6cf98b5b0ae 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
@@ -516,6 +516,54 @@
"bucketName"
]
},
+ "AvroDataset": {
+ "x-ms-discriminator-value": "Avro",
+ "description": "Avro dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Avro dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AvroDatasetTypeProperties"
+ }
+ }
+ },
+ "AvroDatasetTypeProperties": {
+ "description": "Avro dataset properties.",
+ "properties": {
+ "location": {
+ "$ref": "#/definitions/DatasetLocation",
+ "description": "The location of the avro storage."
+ },
+ "avroCompressionCodec": {
+ "type": "string",
+ "enum": [
+ "none",
+ "deflate",
+ "snappy",
+ "xz",
+ "bzip2"
+ ],
+ "x-ms-enum": {
+ "name": "avroCompressionCodec",
+ "modelAsString": true
+ }
+ },
+ "avroCompressionLevel": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 9
+ }
+ },
+ "required": [
+ "location"
+ ]
+ },
"ParquetDataset": {
"x-ms-discriminator-value": "Parquet",
"description": "Parquet dataset.",
@@ -2352,6 +2400,23 @@
}
}
},
+ "AzureMariaDBTableDataset": {
+ "x-ms-discriminator-value": "AzureMariaDBTable",
+ "description": "Azure Database for MariaDB dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Properties specific to this dataset type.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GenericDatasetTypeProperties"
+ }
+ }
+ },
"MarketoObjectDataset": {
"x-ms-discriminator-value": "MarketoObject",
"description": "Marketo server dataset.",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json
index 2f9c9ca48e09..ad3967204e8a 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json
@@ -681,7 +681,6 @@
"IntegrationRuntimeAutoUpdate": {
"description": "The state of integration runtime auto update.",
"type": "string",
- "readOnly": true,
"enum": [
"On",
"Off"
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 c8049222b017..12b90c896c65 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
@@ -3733,6 +3733,43 @@
}
}
},
+ "AzureMariaDBLinkedService": {
+ "x-ms-discriminator-value": "AzureMariaDB",
+ "description": "Azure Database for MariaDB linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Azure Database for MariaDB linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureMariaDBLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "AzureMariaDBLinkedServiceTypeProperties": {
+ "description": "Azure Database for MariaDB linked service properties.",
+ "properties": {
+ "connectionString": {
+ "description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
+ "type": "object"
+ },
+ "pwd": {
+ "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference",
+ "description": "The Azure key vault secret reference of password in connection 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"
+ }
+ }
+ },
"MarketoLinkedService": {
"x-ms-discriminator-value": "Marketo",
"description": "Marketo server linked service.",
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 fbd07f22fd75..ca91ad80bcf7 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
@@ -635,6 +635,25 @@
"type"
]
},
+ "AvroWriteSettings": {
+ "description": "Avro write settings.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FormatWriteSettings"
+ }
+ ],
+ "properties": {
+ "recordName": {
+ "type": "string",
+ "description": "Top level record name in write result, which is required in AVRO spec."
+ },
+ "recordNamespace": {
+ "type": "string",
+ "description": "Record namespace in the write result."
+ }
+ }
+ },
"DelimitedTextWriteSettings": {
"description": "Delimited text write settings.",
"type": "object",
@@ -657,6 +676,21 @@
"fileExtension"
]
},
+ "AvroSource": {
+ "description": "A copy activity Avro source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "storeSettings": {
+ "$ref": "#/definitions/StoreReadSettings",
+ "description": "Avro store settings."
+ }
+ }
+ },
"ParquetSource": {
"description": "A copy activity Parquet source.",
"type": "object",
@@ -1215,7 +1249,16 @@
"$ref": "#/definitions/CopySource"
}
],
- "properties": {}
+ "properties": {
+ "excludeLastRequest": {
+ "type": "object",
+ "description": "Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean)."
+ },
+ "baseRequestId": {
+ "type": "object",
+ "description": "The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer )."
+ }
+ }
},
"SapTableSource": {
"description": "A copy activity source for SAP Table source.",
@@ -1303,6 +1346,22 @@
}
],
"properties": {
+ "requestMethod": {
+ "type": "object",
+ "description": "The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string)."
+ },
+ "requestBody": {
+ "type": "object",
+ "description": "The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string)."
+ },
+ "additionalHeaders": {
+ "type": "object",
+ "description": "The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string)."
+ },
+ "paginationRules": {
+ "type": "object",
+ "description": "The pagination rules to compose next page requests. Type: string (or Expression with resultType string)."
+ },
"httpRequestTimeout": {
"type": "object",
"description": "The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
@@ -1800,7 +1859,28 @@
"$ref": "#/definitions/CopySource"
}
],
- "properties": {}
+ "properties": {
+ "allowedGroups": {
+ "type": "object",
+ "description": "The groups containing all the users. Type: array of strings (or Expression with resultType array of strings)."
+ },
+ "userScopeFilterUri": {
+ "type": "object",
+ "description": "The user scope uri. Type: string (or Expression with resultType string)."
+ },
+ "dateFilterColumn": {
+ "type": "object",
+ "description": "The Column to apply the and . Type: string (or Expression with resultType string)."
+ },
+ "startTime": {
+ "type": "object",
+ "description": "Start time of the requested range for this dataset. Type: string (or Expression with resultType string)."
+ },
+ "endTime": {
+ "type": "object",
+ "description": "End time of the requested range for this dataset. Type: string (or Expression with resultType string)."
+ }
+ }
},
"AzureDataLakeStoreSource": {
"description": "A copy activity Azure Data Lake source.",
@@ -2095,6 +2175,21 @@
}
}
},
+ "AzureMariaDBSource": {
+ "description": "A copy activity Azure MariaDB source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"MarketoSource": {
"description": "A copy activity Marketo server source.",
"type": "object",
@@ -2578,6 +2673,25 @@
}
}
},
+ "AvroSink": {
+ "description": "A copy activity Avro sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "storeSettings": {
+ "$ref": "#/definitions/StoreWriteSettings",
+ "description": "Avro store settings."
+ },
+ "formatSettings": {
+ "$ref": "#/definitions/AvroWriteSettings",
+ "description": "Avro format settings."
+ }
+ }
+ },
"ParquetSink": {
"description": "A copy activity Parquet sink.",
"type": "object",
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 149f79cf2b13..855e1340c2e3 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
@@ -3,231 +3,429 @@
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
"resourceGroupName": "exampleResourceGroup",
"factoryName": "exampleFactoryName",
- "integrationRuntimeName": "integrationRuntime1",
+ "integrationRuntimeName": "testactivityv2",
"getMetadataRequest": {
- "metadataPath": "ssisFolders/2/ssisProjects/6/ssisPackages"
+ "metadataPath": "ssisFolders"
},
"api-version": "2018-06-01"
},
"responses": {
"200": {
"headers": {
- "Date": "Thu, 09 May 2019 09:39:51 GMT",
+ "Date": "Mon, 03 Dec 2018 06:24:54 GMT",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-subscription-writes": "1198",
- "x-ms-request-id": "63fab708-842b-4b19-9811-5e128905e824",
- "x-ms-correlation-request-id": "63fab708-842b-4b19-9811-5e128905e824"
+ "x-ms-request-id": "0cbc67c4-60e7-4d49-97d9-e4bc4f9851cd",
+ "x-ms-correlation-request-id": "0cbc67c4-60e7-4d49-97d9-e4bc4f9851cd"
},
"body": {
"value": [
{
- "folderId": 2,
- "projectVersion": 23,
- "projectId": 6,
- "parameters": [
- {
- "id": 278,
- "name": "Parameter1",
- "description": "",
- "dataType": "Int32",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 279,
- "name": "Parameter10",
- "description": "",
- "dataType": "Decimal",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 280,
- "name": "Parameter11",
- "description": "",
- "dataType": "Double",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 281,
- "name": "Parameter12",
- "description": "",
- "dataType": "Int16",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 282,
- "name": "Parameter2",
- "description": "",
- "dataType": "Boolean",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "False",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 283,
- "name": "Parameter3",
- "description": "",
- "dataType": "Int64",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 284,
- "name": "Parameter4",
- "description": "",
- "dataType": "SByte",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 285,
- "name": "Parameter5",
- "description": "",
- "dataType": "Single",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 286,
- "name": "Parameter6",
- "description": "",
- "dataType": "UInt32",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 287,
- "name": "Parameter7",
- "description": "",
- "dataType": "UInt64",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 288,
- "name": "Parameter8",
- "description": "",
- "dataType": "Byte",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 289,
- "name": "Parameter9",
- "description": "",
- "dataType": "DateTime",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "2/15/2019 3:33:59 PM",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 290,
- "name": "CM.SSISDB.connection.manager.ConnectionString",
- "description": "",
- "dataType": "String",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "Data Source=********;User ID=liubing;Initial Catalog=SSISDB;Provider=SQLNCLI11.1;Persist Security Info=True;Auto Translate=False;",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 291,
- "name": "CM.SSISDB.connection.manager.InitialCatalog",
- "description": "",
- "dataType": "String",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "SSISDB",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 292,
- "name": "CM.SSISDB.connection.manager.Password",
- "description": "",
- "dataType": "String",
- "required": false,
- "sensitive": true,
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 293,
- "name": "CM.SSISDB.connection.manager.RetainSameConnection",
- "description": "",
- "dataType": "Boolean",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "False",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 294,
- "name": "CM.SSISDB.connection.manager.ServerName",
- "description": "",
- "dataType": "String",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "********",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 295,
- "name": "CM.SSISDB.connection.manager.UserName",
- "description": "",
- "dataType": "String",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "liubing",
- "valueType": "V",
- "valueSet": false
- }
- ],
- "id": 53,
- "name": "Package.dtsx",
+ "id": 1,
+ "name": "TestFolder",
+ "description": ""
+ },
+ {
+ "id": 2,
+ "name": "EnvironmentFolder",
+ "description": ""
+ },
+ {
+ "id": 3,
+ "name": "ActivityTest",
+ "description": ""
+ },
+ {
+ "id": 4,
+ "name": "这是文件夹",
"description": ""
+ },
+ {
+ "id": 5,
+ "name": "1"
+ },
+ {
+ "id": 6,
+ "name": "2"
+ },
+ {
+ "id": 7,
+ "name": "3"
+ },
+ {
+ "id": 8,
+ "name": "4"
+ },
+ {
+ "id": 9,
+ "name": "5"
+ },
+ {
+ "id": 10,
+ "name": "6"
+ },
+ {
+ "id": 11,
+ "name": "7"
+ },
+ {
+ "id": 12,
+ "name": "8"
+ },
+ {
+ "id": 13,
+ "name": "9"
+ },
+ {
+ "id": 14,
+ "name": "10"
+ },
+ {
+ "id": 15,
+ "name": "11"
+ },
+ {
+ "id": 16,
+ "name": "12"
+ },
+ {
+ "id": 17,
+ "name": "13"
+ },
+ {
+ "id": 18,
+ "name": "14"
+ },
+ {
+ "id": 19,
+ "name": "15"
+ },
+ {
+ "id": 20,
+ "name": "16"
+ },
+ {
+ "id": 21,
+ "name": "17"
+ },
+ {
+ "id": 22,
+ "name": "18"
+ },
+ {
+ "id": 23,
+ "name": "19"
+ },
+ {
+ "id": 24,
+ "name": "20"
+ },
+ {
+ "id": 25,
+ "name": "21"
+ },
+ {
+ "id": 26,
+ "name": "22"
+ },
+ {
+ "id": 27,
+ "name": "23"
+ },
+ {
+ "id": 28,
+ "name": "24"
+ },
+ {
+ "id": 29,
+ "name": "25"
+ },
+ {
+ "id": 30,
+ "name": "26"
+ },
+ {
+ "id": 31,
+ "name": "27"
+ },
+ {
+ "id": 32,
+ "name": "28"
+ },
+ {
+ "id": 33,
+ "name": "29"
+ },
+ {
+ "id": 34,
+ "name": "30"
+ },
+ {
+ "id": 35,
+ "name": "31"
+ },
+ {
+ "id": 36,
+ "name": "32"
+ },
+ {
+ "id": 37,
+ "name": "33"
+ },
+ {
+ "id": 38,
+ "name": "34"
+ },
+ {
+ "id": 39,
+ "name": "35"
+ },
+ {
+ "id": 40,
+ "name": "36"
+ },
+ {
+ "id": 41,
+ "name": "37"
+ },
+ {
+ "id": 42,
+ "name": "38"
+ },
+ {
+ "id": 43,
+ "name": "39"
+ },
+ {
+ "id": 44,
+ "name": "40"
+ },
+ {
+ "id": 45,
+ "name": "41"
+ },
+ {
+ "id": 46,
+ "name": "42"
+ },
+ {
+ "id": 47,
+ "name": "43"
+ },
+ {
+ "id": 48,
+ "name": "44"
+ },
+ {
+ "id": 49,
+ "name": "45"
+ },
+ {
+ "id": 50,
+ "name": "46"
+ },
+ {
+ "id": 51,
+ "name": "47"
+ },
+ {
+ "id": 52,
+ "name": "48"
+ },
+ {
+ "id": 53,
+ "name": "49"
+ },
+ {
+ "id": 54,
+ "name": "50"
+ },
+ {
+ "id": 55,
+ "name": "51"
+ },
+ {
+ "id": 56,
+ "name": "52"
+ },
+ {
+ "id": 57,
+ "name": "53"
+ },
+ {
+ "id": 58,
+ "name": "54"
+ },
+ {
+ "id": 59,
+ "name": "55"
+ },
+ {
+ "id": 60,
+ "name": "56"
+ },
+ {
+ "id": 61,
+ "name": "57"
+ },
+ {
+ "id": 62,
+ "name": "58"
+ },
+ {
+ "id": 63,
+ "name": "59"
+ },
+ {
+ "id": 64,
+ "name": "60"
+ },
+ {
+ "id": 65,
+ "name": "61"
+ },
+ {
+ "id": 66,
+ "name": "62"
+ },
+ {
+ "id": 67,
+ "name": "63"
+ },
+ {
+ "id": 68,
+ "name": "64"
+ },
+ {
+ "id": 69,
+ "name": "65"
+ },
+ {
+ "id": 70,
+ "name": "66"
+ },
+ {
+ "id": 71,
+ "name": "67"
+ },
+ {
+ "id": 72,
+ "name": "68"
+ },
+ {
+ "id": 73,
+ "name": "69"
+ },
+ {
+ "id": 74,
+ "name": "70"
+ },
+ {
+ "id": 75,
+ "name": "71"
+ },
+ {
+ "id": 76,
+ "name": "72"
+ },
+ {
+ "id": 77,
+ "name": "73"
+ },
+ {
+ "id": 78,
+ "name": "74"
+ },
+ {
+ "id": 79,
+ "name": "75"
+ },
+ {
+ "id": 80,
+ "name": "76"
+ },
+ {
+ "id": 81,
+ "name": "77"
+ },
+ {
+ "id": 82,
+ "name": "78"
+ },
+ {
+ "id": 83,
+ "name": "79"
+ },
+ {
+ "id": 84,
+ "name": "80"
+ },
+ {
+ "id": 85,
+ "name": "81"
+ },
+ {
+ "id": 86,
+ "name": "82"
+ },
+ {
+ "id": 87,
+ "name": "83"
+ },
+ {
+ "id": 88,
+ "name": "84"
+ },
+ {
+ "id": 89,
+ "name": "85"
+ },
+ {
+ "id": 90,
+ "name": "86"
+ },
+ {
+ "id": 91,
+ "name": "87"
+ },
+ {
+ "id": 92,
+ "name": "88"
+ },
+ {
+ "id": 93,
+ "name": "89"
+ },
+ {
+ "id": 94,
+ "name": "90"
+ },
+ {
+ "id": 95,
+ "name": "91"
+ },
+ {
+ "id": 96,
+ "name": "92"
+ },
+ {
+ "id": 97,
+ "name": "93"
+ },
+ {
+ "id": 98,
+ "name": "94"
+ },
+ {
+ "id": 99,
+ "name": "95"
+ },
+ {
+ "id": 100,
+ "name": "96"
}
- ]
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/testactivityv2/getObjectMetadata?api-version=2018-06-01&%24skipToken=https%3a%2f%2fwcu.frontend.clouddatahub.net%2fsubscriptions%2f12345678-1234-1234-1234-12345678abc%2fdatafactories%2f6C8E7C90-FD45-4010-8B7C-B5227D0F0CB7%2fintegrationruntimes%2fTESTACTIVITYV2%2fgetSsisObjectMetadata%3f%24skipToken%3dc3Npc0ZvbGRlcnNAQDIwMTgtMTEtMjlUMDM6NTk6MzIuMDQ1Mzc1MiswMDowMEBAZm9sZGVyQEAwMDAwMDAwMDAwMDAwMDAwMTAx0%26api-version%3d1.0"
}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json
new file mode 100644
index 000000000000..b06046f294f8
--- /dev/null
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-1234-12345678abc",
+ "resourceGroupName": "exampleResourceGroup",
+ "factoryName": "exampleFactoryName",
+ "triggerName": "exampleTrigger",
+ "runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b",
+ "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"
+ }
+ }
+ }
+}
diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json
index 13013e316bf9..b34de8e52650 100644
--- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json
+++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json
@@ -9,15 +9,17 @@
},
"responses": {
"200": {
- "AclStatus": {
- "entries": [
- "test_entry_1",
- "test_entry_2"
- ],
- "group": "test_group",
- "owner": "test_owner",
- "permission": "1",
- "stickyBit": false
+ "body": {
+ "aclStatus": {
+ "entries": [
+ "test_entry_1",
+ "test_entry_2"
+ ],
+ "group": "test_group",
+ "owner": "test_owner",
+ "permission": "1",
+ "stickyBit": false
+ }
}
}
}
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
index bc31ef4079df..45b65c921dd3 100644
--- 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
@@ -21,7 +21,7 @@
"security": [
{
"azure_auth": [
- "user_impersonation"
+ "user_impersonation"
]
}
],
@@ -32,7 +32,7 @@
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
- "user_impersonation": "impersonate your user account"
+ "user_impersonation": "impersonate your user account"
}
}
},
@@ -798,7 +798,7 @@
"type": "object",
"additionalProperties": {
"type": "string"
- },
+ },
"description": "Resource Tags"
},
"location": {
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
index e05cee970f18..0a6934d91396 100644
--- 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
@@ -9,7 +9,7 @@
"tags": {},
"properties": {
"organization": {
- "name": "myAspNetWebAppPipeline-org"
+ "name": "myAspNetWebAppPipeline-org"
},
"project": {
"name": "myAspNetWebAppPipeline-project"
@@ -48,7 +48,7 @@
"location": "South India",
"properties": {
"organization": {
- "name": "myAspNetWebAppPipeline-org"
+ "name": "myAspNetWebAppPipeline-org"
},
"project": {
"name": "myAspNetWebAppPipeline-project"
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
index aa613a86e660..e76aa49aeca0 100644
--- 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
@@ -15,7 +15,7 @@
"location": "South India",
"properties": {
"organization": {
- "name": "myAspNetWebAppPipeline-org"
+ "name": "myAspNetWebAppPipeline-org"
},
"project": {
"name": "myAspNetWebAppPipeline-project"
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
index 4a94831d096d..e6b20a3bc65c 100644
--- 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
@@ -16,7 +16,7 @@
"location": "South India",
"properties": {
"organization": {
- "name": "myAspNetWebAppPipeline-org"
+ "name": "myAspNetWebAppPipeline-org"
},
"project": {
"name": "myAspNetWebAppPipeline-project"
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
index 286f050960cd..f4efc388d643 100644
--- 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
@@ -15,7 +15,7 @@
"location": "South India",
"properties": {
"organization": {
- "name": "myAspNetWebAppPipeline-org"
+ "name": "myAspNetWebAppPipeline-org"
},
"project": {
"name": "myAspNetWebAppPipeline-project"
@@ -43,7 +43,7 @@
"location": "South India",
"properties": {
"organization": {
- "name": "myAspNetWebAppPipeline-org1"
+ "name": "myAspNetWebAppPipeline-org1"
},
"project": {
"name": "myAspNetWebAppPipeline-project1"
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
index edbd23b28942..e43c73c93596 100644
--- 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
@@ -23,7 +23,7 @@
},
"properties": {
"organization": {
- "name": "myAspNetWebAppPipeline-org"
+ "name": "myAspNetWebAppPipeline-org"
},
"project": {
"name": "myAspNetWebAppPipeline-project"
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json
index ac69b8a3180c..492ba977f0f7 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json
@@ -233,14 +233,7 @@
"accessModes": {
"type": "array",
"items": {
- "type": "string",
- "enum": [
- "WebPage"
- ],
- "x-ms-enum": {
- "name": "ApplicationHttpsEndpointAccessMode",
- "modelAsString": true
- }
+ "type": "string"
},
"description": "The list of access modes for the application."
},
@@ -331,15 +324,7 @@
},
"applicationType": {
"type": "string",
- "description": "The application type.",
- "enum": [
- "CustomApplication",
- "RServer"
- ],
- "x-ms-enum": {
- "name": "ApplicationType",
- "modelAsString": true
- }
+ "description": "The application type."
},
"applicationState": {
"readOnly": true,
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 6502e32ef264..979c1460aff0 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
@@ -233,14 +233,7 @@
"accessModes": {
"type": "array",
"items": {
- "type": "string",
- "enum": [
- "WebPage"
- ],
- "x-ms-enum": {
- "name": "ApplicationHttpsEndpointAccessMode",
- "modelAsString": true
- }
+ "type": "string"
},
"description": "The list of access modes for the application."
},
@@ -331,15 +324,7 @@
},
"applicationType": {
"type": "string",
- "description": "The application type.",
- "enum": [
- "CustomApplication",
- "RServer"
- ],
- "x-ms-enum": {
- "name": "ApplicationType",
- "modelAsString": true
- }
+ "description": "The application type."
},
"applicationState": {
"readOnly": true,
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 8f0593080242..403e851ff328 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
@@ -2,8 +2,8 @@
"swagger": "2.0",
"info": {
"version": "2018-08-20-preview",
- "title": "HealthcareClient",
- "description": "Use this API to manage Microsoft Healthcare services in your Azure subscription."
+ "title": "HealthcareApisClient",
+ "description": "Use this API to manage Microsoft HealthcareApis services in your Azure subscription."
},
"host": "management.azure.com",
"schemes": [
@@ -649,9 +649,11 @@
"kind": {
"readOnly": false,
"type": "string",
- "description": "The kind of the service. Valid values are: fhir.",
+ "description": "The kind of the service. Valid values are: fhir, fhir-Stu3 and fhir-R4.",
"enum": [
- "fhir"
+ "fhir",
+ "fhir-Stu3",
+ "fhir-R4"
],
"x-ms-enum": {
"name": "kind",
diff --git a/specification/healthcareapis/resource-manager/readme.md b/specification/healthcareapis/resource-manager/readme.md
index cb00819f4447..a506b9629059 100644
--- a/specification/healthcareapis/resource-manager/readme.md
+++ b/specification/healthcareapis/resource-manager/readme.md
@@ -60,31 +60,7 @@ swagger-to-sdk:
## 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)/azure-mgmt-healthcareapis/azure/mgmt/healthcareapis
-```
-``` yaml $(python) && $(python-mode) == 'create'
-python:
- basic-setup-py: true
- output-folder: $(python-sdks-folder)/azure-mgmt-healthcareapis
-```
+See configuration in [readme.python.md](./readme.python.md)
## Go
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json
index aa8402028e45..b6c815ce3716 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json
@@ -102,7 +102,7 @@
"type": "Microsoft.HybridData/dataManagers/dataServices"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json
index 7be5d5715925..2fd02ede260c 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json
@@ -97,7 +97,7 @@
"type": "Microsoft.HybridData/dataManagers/dataStoreTypes"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json
index bb5a0dee4d53..e41464ee6ea5 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json
@@ -49,7 +49,7 @@
"type": "Microsoft.HybridData/dataManagers/dataStores"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json
index fcab9f535bcf..4382802a82fa 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json
@@ -50,7 +50,7 @@
"type": "Microsoft.HybridData/dataManagers/dataServices/jobDefinitions"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json
index 83b201fbd5b4..1ac77da4ef8f 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json
@@ -51,7 +51,7 @@
"type": "Microsoft.HybridData/dataManagers/dataServices/jobDefinitions"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json
index c0721acb1faf..ebcf4ed71efe 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json
@@ -64,7 +64,7 @@
"type": "Microsoft.HybridData/dataManagers/jobs"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json
index 7fc10af4a35c..2cb94885a13d 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json
@@ -65,7 +65,7 @@
"type": "Microsoft.HybridData/dataManagers/jobs"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json
index da706483e2a2..4f0eecd66bf7 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json
@@ -66,7 +66,7 @@
"type": "Microsoft.HybridData/dataManagers/jobs"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json
index 75d3f22964a9..c1848fafe1d7 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json
@@ -1,15 +1,15 @@
{
- "parameters": {
- "api-version": "2019-04-30",
- "nonce": "abcde12345",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "encoding": "pkcs7",
- "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL"
- }
- }
+ "parameters": {
+ "api-version": "2019-04-30",
+ "nonce": "abcde12345",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "encoding": "pkcs7",
+ "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json
index a71e5c82dd81..c86922232d4d 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "api-version": "2019-04-30",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
- }
- }
+ "parameters": {
+ "api-version": "2019-04-30",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json
index d25c2d507ab6..cf9b130b3e0d 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "api-version": "2019-04-30",
- "Metadata": "true",
- "resource": "https://vault.azure.net"
- },
- "responses": {
- "200": {
- "body": {
- "access_token": "dummytoken",
- "client_id": "be5947ed-3560-4afe-9504-59967a63f810",
- "expires_in": "3599",
- "expires_on": "1541705014",
- "ext_expires_in": "262800",
- "not_before": "1508961830",
- "resource": "https://va"
- }
- }
+ "parameters": {
+ "api-version": "2019-04-30",
+ "Metadata": "true",
+ "resource": "https://vault.azure.net"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access_token": "dummytoken",
+ "client_id": "be5947ed-3560-4afe-9504-59967a63f810",
+ "expires_in": "3599",
+ "expires_on": "1541705014",
+ "ext_expires_in": "262800",
+ "not_before": "1508961830",
+ "resource": "https://va"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json
index ebed2fed07b4..df4eecc8f5b9 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json
@@ -1,50 +1,50 @@
{
- "parameters": {
- "api-version": "2019-04-30",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "compute": {
- "azEnvironment": "AzurePublicCloud",
- "customData": "TXkgY3VzdG9tIGRhdGEu",
- "location": "westus",
- "name": "examplevmname",
- "offer": "Windows",
- "osType": "linux",
- "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
- "plan": {
- "name": "planName",
- "product": "planProduct",
- "publisher": "planPublisher"
- },
- "platformFaultDomain": "36",
- "platformUpdateDomain": "42",
- "provider": "Microsoft.Compute",
- "publicKeys": [
- {
- "keyData": "ssh-rsa 0",
- "path": "/home/user/.ssh/authorized_keys0"
- },
- {
- "keyData": "ssh-rsa 1",
- "path": "/home/user/.ssh/authorized_keys1"
- }
- ],
- "publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
- "resourceGroupName": "macikgo-test-may-23",
- "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
- "sku": "Windows-Server-2012-R2-Datacenter",
- "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
- "tags": "baz:bash;foo:bar",
- "version": "15.05.22",
- "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
- "vmScaleSetName": "crpteste9vflji9",
- "vmSize": "Standard_A3",
- "zone": ""
- }
+ "parameters": {
+ "api-version": "2019-04-30",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "compute": {
+ "azEnvironment": "AzurePublicCloud",
+ "customData": "TXkgY3VzdG9tIGRhdGEu",
+ "location": "westus",
+ "name": "examplevmname",
+ "offer": "Windows",
+ "osType": "linux",
+ "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
+ "plan": {
+ "name": "planName",
+ "product": "planProduct",
+ "publisher": "planPublisher"
+ },
+ "platformFaultDomain": "36",
+ "platformUpdateDomain": "42",
+ "provider": "Microsoft.Compute",
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa 0",
+ "path": "/home/user/.ssh/authorized_keys0"
+ },
+ {
+ "keyData": "ssh-rsa 1",
+ "path": "/home/user/.ssh/authorized_keys1"
}
+ ],
+ "publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
+ "resourceGroupName": "macikgo-test-may-23",
+ "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
+ "sku": "Windows-Server-2012-R2-Datacenter",
+ "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
+ "tags": "baz:bash;foo:bar",
+ "version": "15.05.22",
+ "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
+ "vmScaleSetName": "crpteste9vflji9",
+ "vmSize": "Standard_A3",
+ "zone": ""
}
+ }
}
+ }
}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json
index b55539f58821..fd2cab686a20 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json
@@ -1,629 +1,629 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "InstanceMetadataClient",
- "description": "The Azure Instance Metadata Client",
- "version": "2019-04-30"
- },
- "host": "169.254.169.254",
- "basePath": "/metadata",
- "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"
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "InstanceMetadataClient",
+ "description": "The Azure Instance Metadata Client",
+ "version": "2019-04-30"
+ },
+ "host": "169.254.169.254",
+ "basePath": "/metadata",
+ "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": {
+ "/instance": {
+ "get": {
+ "operationId": "Instances_GetMetadata",
+ "description": "Get Instance Metadata for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Instance"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Instance Metadata for the VM": {
+ "$ref": "./examples/GetInstanceMetadata.json"
+ }
}
+ }
},
- "paths": {
- "/instance": {
- "get": {
- "operationId": "Instances_GetMetadata",
- "description": "Get Instance Metadata for the Virtual Machine.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/MetadataParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Instance"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Instance Metadata for the VM": {
- "$ref": "./examples/GetInstanceMetadata.json"
- }
- }
+ "/attested/document": {
+ "get": {
+ "operationId": "Attested_GetDocument",
+ "description": "Get Attested Data for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "nonce",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "This is a string of up to 32 random alphanumeric characters."
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AttestedData"
}
- },
- "/attested/document": {
- "get": {
- "operationId": "Attested_GetDocument",
- "description": "Get Attested Data for the Virtual Machine.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "nonce",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "This is a string of up to 32 random alphanumeric characters."
- },
- {
- "$ref": "#/parameters/MetadataParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AttestedData"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Attested Data for the VM": {
- "$ref": "./examples/GetAttestedData.json"
- }
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
},
- "/identity/oauth2/token": {
- "get": {
- "tags": [
- "Get token"
- ],
- "description": "Get a Token from Azure AD",
- "operationId": "Identity_GetToken",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/MetadataParameter"
- },
- {
- "name": "resource",
- "in": "query",
- "type": "string",
- "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.",
- "required": true
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "client_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.",
- "required": false
- },
- {
- "name": "object_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.",
- "required": false
- },
- {
- "name": "msi_res_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.",
- "required": false
- },
- {
- "name": "authority",
- "in": "query",
- "type": "string",
- "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.",
- "required": false
- },
- {
- "name": "bypass_cache",
- "in": "query",
- "type": "string",
- "enum": [
- "true"
- ],
- "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.",
- "required": false,
- "x-ms-enum": {
- "name": "BypassCache",
- "modelAsString": true
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation",
- "schema": {
- "$ref": "#/definitions/IdentityTokenResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/IdentityErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Identity Token for the VM": {
- "$ref": "./examples/GetIdentityToken.json"
- }
- }
+ "x-ms-examples": {
+ "Get Attested Data for the VM": {
+ "$ref": "./examples/GetAttestedData.json"
+ }
+ }
+ }
+ },
+ "/identity/oauth2/token": {
+ "get": {
+ "tags": [
+ "Get token"
+ ],
+ "description": "Get a Token from Azure AD",
+ "operationId": "Identity_GetToken",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "name": "resource",
+ "in": "query",
+ "type": "string",
+ "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.",
+ "required": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "client_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "object_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "msi_res_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.",
+ "required": false
+ },
+ {
+ "name": "authority",
+ "in": "query",
+ "type": "string",
+ "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.",
+ "required": false
+ },
+ {
+ "name": "bypass_cache",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.",
+ "required": false,
+ "x-ms-enum": {
+ "name": "BypassCache",
+ "modelAsString": true
}
- },
- "/identity/info": {
- "get": {
- "tags": [
- "Get metadata information"
- ],
- "description": "Get information about AAD Metadata",
- "operationId": "Identity_GetInfo",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/MetadataParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation",
- "schema": {
- "$ref": "#/definitions/IdentityInfoResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/IdentityErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Identity Info for the VM": {
- "$ref": "./examples/GetIdentityInfo.json"
- }
- }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityTokenResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
}
+ }
+ },
+ "x-ms-examples": {
+ "Get Identity Token for the VM": {
+ "$ref": "./examples/GetIdentityToken.json"
+ }
}
+ }
},
- "definitions": {
- "Compute": {
- "type": "object",
- "properties": {
- "azEnvironment": {
- "type": "string",
- "description": "This is the name of the environment in which the VM is running."
- },
- "customData": {
- "type": "string",
- "description": "This is the base64 encoded custom data for the running VM."
- },
- "location": {
- "type": "string",
- "description": "This is the Azure Region in which the VM is running."
- },
- "name": {
- "type": "string",
- "description": "This is the name of the VM."
- },
- "offer": {
- "type": "string",
- "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery."
- },
- "osType": {
- "type": "string",
- "description": "This value indicates the type of OS the VM is running, either Linux or Windows."
- },
- "placementGroupId": {
- "type": "string",
- "description": "This is the placement group of your Virtual Machine Scale Set."
- },
- "plan": {
- "type": "object",
- "description": "This contains the data about the plan.",
- "$ref": "#/definitions/PlanProperties"
- },
- "publicKeys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicKeysProperties"
- },
- "description": "This is information about the SSH certificate"
- },
- "platformFaultDomain": {
- "type": "string",
- "description": "This is the fault domain in which the VM."
- },
- "platformUpdateDomain": {
- "type": "string",
- "description": "This is the update domain in which the VM."
- },
- "provider": {
- "type": "string",
- "description": "This is the provider of the VM."
- },
- "publisher": {
- "type": "string",
- "description": "This is the publisher of the VM image."
- },
- "resourceGroupName": {
- "type": "string",
- "description": "This is the resource group for the VM."
- },
- "resourceId": {
- "type": "string",
- "description": "This is the fully qualified ID for the VM."
- },
- "sku": {
- "type": "string",
- "description": "This is the specific SKU for the VM image."
- },
- "subscriptionId": {
- "type": "string",
- "description": "This is the Azure subscription for the VM."
- },
- "tags": {
- "type": "string",
- "description": "This is the list of tags for your VM."
- },
- "version": {
- "type": "string",
- "description": "This is the version of the VM image."
- },
- "vmId": {
- "type": "string",
- "description": "This is the unique identifier for the VM."
- },
- "vmScaleSetName": {
- "type": "string",
- "description": "This is the resource name of the VMSS."
- },
- "vmSize": {
- "type": "string",
- "description": "This is the size of the VM."
- },
- "zone": {
- "type":"string",
- "description":"This is the availability zone of the VM."
- }
- },
- "description": "Compute Metadata"
- },
- "Network": {
- "type": "object",
- "properties": {
- "interface": {
- "type":"array",
- "description": "This contains data about the network interface.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/NetworkInterface"
- }
- }
- },
- "description": "Network Metadata"
- },
- "NetworkInterface": {
- "type": "object",
- "description": "This contains data about the network interface.",
- "properties": {
- "ipv4": {
- "type":"object",
- "description": "This contains the IPv4 address.",
- "properties": {
- "ipAddress": {
- "type":"array",
- "description": "This is the IP address",
- "items": {
- "type": "object",
- "description": "This contains the IPv4 properties.",
- "$ref":"#/definitions/Ipv4Properties"
- }
- },
- "subnet": {
- "type":"array",
- "description": "This is the subnet",
- "items": {
- "type": "object",
- "description": "This contains the subnet properties.",
- "$ref": "#/definitions/SubnetProperties"
- }
- }
- }
- },
- "ipv6": {
- "type":"object",
- "description": "This contains the IPv6 address.",
- "properties": {
- "ipAddress": {
- "type":"array",
- "description": "This is the IP address",
- "items": {
- "type": "object",
- "description": "This contains the IPv6 properties.",
- "$ref":"#/definitions/Ipv6Properties"
- }
- }
- }
- },
- "macAddress": {
- "type":"string",
- "description":"This is the MAC address of the interface."
- }
+ "/identity/info": {
+ "get": {
+ "tags": [
+ "Get metadata information"
+ ],
+ "description": "Get information about AAD Metadata",
+ "operationId": "Identity_GetInfo",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityInfoResponse"
}
- },
- "PlanProperties": {
- "type": "object",
- "description": "This contains the data about the plan.",
- "properties": {
- "name": {
- "type": "string",
- "description": "This is the Plan ID."
- },
- "publisher": {
- "type": "string",
- "description": "This is the publisher ID."
- },
- "product": {
- "type": "string",
- "description": "This is the product of the image from the Marketplace."
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
}
+ }
},
- "PublicKeysProperties": {
- "type": "object",
- "description": "This contains the data about the public key.",
- "properties": {
- "path": {
- "type": "string",
- "description": "This specifies the full path on the VM where the SSH public key is stored."
- },
- "keyData": {
- "type": "string",
- "description": "This is the SSH public key certificate used to authenticate with the VM."
- }
- }
+ "x-ms-examples": {
+ "Get Identity Info for the VM": {
+ "$ref": "./examples/GetIdentityInfo.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Compute": {
+ "type": "object",
+ "properties": {
+ "azEnvironment": {
+ "type": "string",
+ "description": "This is the name of the environment in which the VM is running."
},
- "Ipv4Properties": {
- "type": "object",
- "description": "This contains the IPv4 properties.",
- "properties": {
- "privateIpAddress": {
- "type":"string",
- "description":"This is the private IP address assigned to the interface."
- },
- "publicIpAddress": {
- "type":"string",
- "description":"This is the public IP address assigned to the interface."
- }
- }
+ "customData": {
+ "type": "string",
+ "description": "This is the base64 encoded custom data for the running VM."
},
- "Ipv6Properties": {
- "type": "object",
- "description": "This contains the IPv6 properties.",
- "properties": {
- "privateIpAddress": {
- "type":"string",
- "description":"This is the private IPv6 address assigned to the interface."
- }
- }
+ "location": {
+ "type": "string",
+ "description": "This is the Azure Region in which the VM is running."
},
- "SubnetProperties": {
- "type": "object",
- "description": "This contains the properties of the subnet.",
- "properties": {
- "address": {
- "type":"string",
- "description":"This is the address range of the subnet."
- },
- "prefix": {
- "type":"string",
- "description":"This is the prefix of the subnet."
- }
- }
+ "name": {
+ "type": "string",
+ "description": "This is the name of the VM."
},
- "Instance": {
- "type": "object",
- "description": "This is the response from the Instance_GetMetadata operation.",
- "properties": {
- "compute": {
- "$ref": "#/definitions/Compute",
- "description": "Compute Metadata"
- },
- "network": {
- "$ref": "#/definitions/Network",
- "description": "Network Metadata"
- }
- }
+ "offer": {
+ "type": "string",
+ "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery."
},
- "AttestedData": {
- "type": "object",
- "description": "This is the response from the Attested_GetDocument operation.",
- "properties": {
- "signature": {
- "type": "string",
- "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value."
- },
- "encoding": {
- "type": "string",
- "description": "This is the encoding scheme of the signature."
- }
- }
+ "osType": {
+ "type": "string",
+ "description": "This value indicates the type of OS the VM is running, either Linux or Windows."
},
- "ErrorResponse": {
- "description": "This is the response from an operation in the case an error occurs.",
- "type": "object",
- "properties": {
- "error": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
- }
+ "placementGroupId": {
+ "type": "string",
+ "description": "This is the placement group of your Virtual Machine Scale Set."
+ },
+ "plan": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "$ref": "#/definitions/PlanProperties"
+ },
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicKeysProperties"
+ },
+ "description": "This is information about the SSH certificate"
+ },
+ "platformFaultDomain": {
+ "type": "string",
+ "description": "This is the fault domain in which the VM."
+ },
+ "platformUpdateDomain": {
+ "type": "string",
+ "description": "This is the update domain in which the VM."
+ },
+ "provider": {
+ "type": "string",
+ "description": "This is the provider of the VM."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher of the VM image."
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "This is the resource group for the VM."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "This is the fully qualified ID for the VM."
+ },
+ "sku": {
+ "type": "string",
+ "description": "This is the specific SKU for the VM image."
},
- "IdentityErrorResponse": {
+ "subscriptionId": {
+ "type": "string",
+ "description": "This is the Azure subscription for the VM."
+ },
+ "tags": {
+ "type": "string",
+ "description": "This is the list of tags for your VM."
+ },
+ "version": {
+ "type": "string",
+ "description": "This is the version of the VM image."
+ },
+ "vmId": {
+ "type": "string",
+ "description": "This is the unique identifier for the VM."
+ },
+ "vmScaleSetName": {
+ "type": "string",
+ "description": "This is the resource name of the VMSS."
+ },
+ "vmSize": {
+ "type": "string",
+ "description": "This is the size of the VM."
+ },
+ "zone": {
+ "type": "string",
+ "description": "This is the availability zone of the VM."
+ }
+ },
+ "description": "Compute Metadata"
+ },
+ "Network": {
+ "type": "object",
+ "properties": {
+ "interface": {
+ "type": "array",
+ "description": "This contains data about the network interface.",
+ "items": {
"type": "object",
- "description": "This is the response from an Identity operation in the case an error occurs.",
- "properties": {
- "error": {
- "type": "string",
- "description": "Error code",
- "enum": [
- "invalid_request",
- "unauthorized_client",
- "access_denied",
- "unsupported_response_type",
- "invalid_scope",
- "server_error",
- "service_unavailable",
- "bad_request",
- "forbidden",
- "not_found",
- "method_not_allowed",
- "too_many_requests"
- ],
- "x-ms-enum": {
- "name": "Error",
- "modelAsString": true
- }
- },
- "error_description": {
- "type": "string",
- "description": "Error message indicating why the operation failed."
- }
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ }
+ },
+ "description": "Network Metadata"
+ },
+ "NetworkInterface": {
+ "type": "object",
+ "description": "This contains data about the network interface.",
+ "properties": {
+ "ipv4": {
+ "type": "object",
+ "description": "This contains the IPv4 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "$ref": "#/definitions/Ipv4Properties"
+ }
+ },
+ "subnet": {
+ "type": "array",
+ "description": "This is the subnet",
+ "items": {
+ "type": "object",
+ "description": "This contains the subnet properties.",
+ "$ref": "#/definitions/SubnetProperties"
+ }
}
+ }
},
- "IdentityTokenResponse": {
- "type": "object",
- "description": "This is the response from the Identity_GetToken operation.",
- "properties": {
- "access_token": {
- "type": "string",
- "description": "This is the requested access token. The app can use this token to authenticate to the sink resource."
- },
- "expires_in": {
- "type": "string",
- "description": "This is how long the access token is valid (in seconds)."
- },
- "expires_on": {
- "type": "string",
- "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens."
- },
- "ext_expires_in": {
- "type": "string",
- "description": "This indicates the extended lifetime of the token (in seconds)."
- },
- "not_before": {
- "type": "string",
- "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time."
- },
- "resource": {
- "type": "string",
- "description": "This is the app ID URI of the sink resource."
- },
- "token_type": {
- "type": "string",
- "description": "This indicates the token type value."
- },
- "client_id": {
- "type": "string",
- "description": "This is the client_id specified in the request, if any."
- },
- "object_id": {
- "type": "string",
- "description": "This is the object_id specified in the request, if any."
- },
- "msi_res_id": {
- "type": "string",
- "description": "This is the msi_res_id specified in the request, if any."
- }
+ "ipv6": {
+ "type": "object",
+ "description": "This contains the IPv6 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "$ref": "#/definitions/Ipv6Properties"
+ }
}
+ }
},
- "IdentityInfoResponse": {
- "type": "object",
- "description": "This is the response from the Identity_GetInfo operation.",
- "properties": {
- "tenantId": {
- "type": "string",
- "description": "This is the AAD tenantId of the identity of the caller."
- }
- }
+ "macAddress": {
+ "type": "string",
+ "description": "This is the MAC address of the interface."
}
+ }
},
- "parameters": {
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "type": "string",
- "enum": [
- "2018-10-01"
- ],
- "description": "This is the API version to use.",
- "required": true,
- "x-ms-enum": {
- "name": "ApiVersion",
- "modelAsString": true
- }
+ "PlanProperties": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "This is the Plan ID."
},
- "MetadataParameter": {
- "name": "Metadata",
- "in": "header",
- "type": "string",
- "enum": [
- "true"
- ],
- "description": "This must be set to 'true'.",
- "required": true,
- "x-ms-parameter-location": "method"
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "This is the product of the image from the Marketplace."
+ }
+ }
+ },
+ "PublicKeysProperties": {
+ "type": "object",
+ "description": "This contains the data about the public key.",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "This specifies the full path on the VM where the SSH public key is stored."
+ },
+ "keyData": {
+ "type": "string",
+ "description": "This is the SSH public key certificate used to authenticate with the VM."
+ }
+ }
+ },
+ "Ipv4Properties": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IP address assigned to the interface."
+ },
+ "publicIpAddress": {
+ "type": "string",
+ "description": "This is the public IP address assigned to the interface."
+ }
+ }
+ },
+ "Ipv6Properties": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IPv6 address assigned to the interface."
+ }
+ }
+ },
+ "SubnetProperties": {
+ "type": "object",
+ "description": "This contains the properties of the subnet.",
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "This is the address range of the subnet."
+ },
+ "prefix": {
+ "type": "string",
+ "description": "This is the prefix of the subnet."
+ }
+ }
+ },
+ "Instance": {
+ "type": "object",
+ "description": "This is the response from the Instance_GetMetadata operation.",
+ "properties": {
+ "compute": {
+ "$ref": "#/definitions/Compute",
+ "description": "Compute Metadata"
+ },
+ "network": {
+ "$ref": "#/definitions/Network",
+ "description": "Network Metadata"
+ }
+ }
+ },
+ "AttestedData": {
+ "type": "object",
+ "description": "This is the response from the Attested_GetDocument operation.",
+ "properties": {
+ "signature": {
+ "type": "string",
+ "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value."
+ },
+ "encoding": {
+ "type": "string",
+ "description": "This is the encoding scheme of the signature."
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "This is the response from an operation in the case an error occurs.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "IdentityErrorResponse": {
+ "type": "object",
+ "description": "This is the response from an Identity operation in the case an error occurs.",
+ "properties": {
+ "error": {
+ "type": "string",
+ "description": "Error code",
+ "enum": [
+ "invalid_request",
+ "unauthorized_client",
+ "access_denied",
+ "unsupported_response_type",
+ "invalid_scope",
+ "server_error",
+ "service_unavailable",
+ "bad_request",
+ "forbidden",
+ "not_found",
+ "method_not_allowed",
+ "too_many_requests"
+ ],
+ "x-ms-enum": {
+ "name": "Error",
+ "modelAsString": true
+ }
+ },
+ "error_description": {
+ "type": "string",
+ "description": "Error message indicating why the operation failed."
}
+ }
+ },
+ "IdentityTokenResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetToken operation.",
+ "properties": {
+ "access_token": {
+ "type": "string",
+ "description": "This is the requested access token. The app can use this token to authenticate to the sink resource."
+ },
+ "expires_in": {
+ "type": "string",
+ "description": "This is how long the access token is valid (in seconds)."
+ },
+ "expires_on": {
+ "type": "string",
+ "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens."
+ },
+ "ext_expires_in": {
+ "type": "string",
+ "description": "This indicates the extended lifetime of the token (in seconds)."
+ },
+ "not_before": {
+ "type": "string",
+ "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time."
+ },
+ "resource": {
+ "type": "string",
+ "description": "This is the app ID URI of the sink resource."
+ },
+ "token_type": {
+ "type": "string",
+ "description": "This indicates the token type value."
+ },
+ "client_id": {
+ "type": "string",
+ "description": "This is the client_id specified in the request, if any."
+ },
+ "object_id": {
+ "type": "string",
+ "description": "This is the object_id specified in the request, if any."
+ },
+ "msi_res_id": {
+ "type": "string",
+ "description": "This is the msi_res_id specified in the request, if any."
+ }
+ }
+ },
+ "IdentityInfoResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetInfo operation.",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "This is the AAD tenantId of the identity of the caller."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "2018-10-01"
+ ],
+ "description": "This is the API version to use.",
+ "required": true,
+ "x-ms-enum": {
+ "name": "ApiVersion",
+ "modelAsString": true
+ }
+ },
+ "MetadataParameter": {
+ "name": "Metadata",
+ "in": "header",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "This must be set to 'true'.",
+ "required": true,
+ "x-ms-parameter-location": "method"
}
+ }
}
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 4edb3b10ab55..ceac00bace19 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
@@ -7,18 +7,16 @@
"batchConfigurationName": "testBatchConfiguration",
"batchConfiguration": {
"properties": {
- "properties": {
- "batchGroupName": "DEFAULT",
- "releaseCriteria": {
- "recurrence": {
- "frequency": "Minute",
- "interval": 1,
- "startTime": "2017-03-24T11:43:00",
- "timeZone": "India Standard Time"
- },
- "messageCount": 10,
- "batchSize": 234567
- }
+ "batchGroupName": "DEFAULT",
+ "releaseCriteria": {
+ "recurrence": {
+ "frequency": "Minute",
+ "interval": 1,
+ "startTime": "2017-03-24T11:43:00",
+ "timeZone": "India Standard Time"
+ },
+ "messageCount": 10,
+ "batchSize": 234567
}
},
"location": "westus"
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 7350ef83e347..dfbe4d860bbf 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
@@ -5,10 +5,8 @@
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"integrationAccountName": "testIntegrationAccount",
"listKeyVaultKeys": {
- "keyVault": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault"
- },
- "skipToken": "testSkipToken"
+ "skipToken": "testSkipToken",
+ "keyVault": {}
}
},
"responses": {
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 86ec41230460..66db66a71087 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
@@ -6,45 +6,11 @@
"integrationAccountName": "testIntegrationAccount",
"logTrackingEvents": {
"sourceType": "Microsoft.Logic/workflows",
- "source": {
- "workflow": {
- "systemId": "/locations/westus/scaleunits/test-01/workflows/bf501b3fceaa4a858a166aa64768ced5"
- },
- "runInstance": {
- "runId": "08586772141809790618914792486CU03"
- },
- "operation": {
- "operationName": "httpgetaction"
- }
- },
"events": [
{
"eventLevel": "Informational",
"eventTime": "2016-08-05T01:54:49.505567Z",
"recordType": "AS2Message",
- "record": {
- "agreementProperties": {
- "senderPartnerName": "testPartner1",
- "receiverPartnerName": "testPartner2",
- "as2To": "testas2to",
- "as2From": "testas2from",
- "agreementName": "testAgreement"
- },
- "messageProperties": {
- "direction": "Receive",
- "messageId": "12345",
- "dispositionType": "received-success",
- "fileName": "test",
- "isMessageFailed": false,
- "IsMessageEncrypted": false,
- "IsMessageSigned": false,
- "correlationMessageId": "Unique message identifier",
- "isMessageCompressed": false,
- "isNrrEnabled": true,
- "isMdnExpected": true,
- "mdnType": "Async"
- }
- },
"error": {
"message": "Some error occurred",
"code": "NotFound"
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 7f1683aa7c35..3570e17afb96 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
@@ -303,7 +303,6 @@
}
},
{
- "origin": "System",
"name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read",
"display": {
"provider": "Microsoft Logic",
@@ -312,7 +311,6 @@
}
},
{
- "origin": "System",
"name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write",
"display": {
"provider": "Microsoft Logic",
@@ -321,579 +319,19 @@
}
},
{
- "origin": "System",
"name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read",
"display": {
"provider": "Microsoft Logic",
"resource": "Workflow Metric Definition",
"operation": "Get Workflow Metric Definition"
- },
- "properties": {
- "serviceSpecification": {
- "metricSpecifications": [
- {
- "name": "RunsStarted",
- "displayName": "Runs Started",
- "displayDescription": "Number of workflow runs started.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsCompleted",
- "displayName": "Runs Completed",
- "displayDescription": "Number of workflow runs completed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsSucceeded",
- "displayName": "Runs Succeeded",
- "displayDescription": "Number of workflow runs succeeded.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsFailed",
- "displayName": "Runs Failed",
- "displayDescription": "Number of workflow runs failed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsCancelled",
- "displayName": "Runs Cancelled",
- "displayDescription": "Number of workflow runs cancelled.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunLatency",
- "displayName": "Run Latency",
- "displayDescription": "Latency of completed workflow runs.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "RunSuccessLatency",
- "displayName": "Run Success Latency",
- "displayDescription": "Latency of succeeded workflow runs.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "RunThrottledEvents",
- "displayName": "Run Throttled Events",
- "displayDescription": "Number of workflow action or trigger throttled events.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunFailurePercentage",
- "displayName": "Run Failure Percentage",
- "displayDescription": "Percentage of workflow runs failed.",
- "unit": "Percent",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsStarted",
- "displayName": "Actions Started ",
- "displayDescription": "Number of workflow actions started.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsCompleted",
- "displayName": "Actions Completed ",
- "displayDescription": "Number of workflow actions completed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsSucceeded",
- "displayName": "Actions Succeeded ",
- "displayDescription": "Number of workflow actions succeeded.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsFailed",
- "displayName": "Actions Failed ",
- "displayDescription": "Number of workflow actions failed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsSkipped",
- "displayName": "Actions Skipped ",
- "displayDescription": "Number of workflow actions skipped.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionLatency",
- "displayName": "Action Latency ",
- "displayDescription": "Latency of completed workflow actions.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "ActionSuccessLatency",
- "displayName": "Action Success Latency ",
- "displayDescription": "Latency of succeeded workflow actions.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "ActionThrottledEvents",
- "displayName": "Action Throttled Events",
- "displayDescription": "Number of workflow action throttled events..",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersStarted",
- "displayName": "Triggers Started ",
- "displayDescription": "Number of workflow triggers started.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersCompleted",
- "displayName": "Triggers Completed ",
- "displayDescription": "Number of workflow triggers completed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersSucceeded",
- "displayName": "Triggers Succeeded ",
- "displayDescription": "Number of workflow triggers succeeded.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersFailed",
- "displayName": "Triggers Failed ",
- "displayDescription": "Number of workflow triggers failed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersSkipped",
- "displayName": "Triggers Skipped",
- "displayDescription": "Number of workflow triggers skipped.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersFired",
- "displayName": "Triggers Fired ",
- "displayDescription": "Number of workflow triggers fired.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggerLatency",
- "displayName": "Trigger Latency ",
- "displayDescription": "Latency of completed workflow triggers.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "TriggerFireLatency",
- "displayName": "Trigger Fire Latency ",
- "displayDescription": "Latency of fired workflow triggers.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "TriggerSuccessLatency",
- "displayName": "Trigger Success Latency ",
- "displayDescription": "Latency of succeeded workflow triggers.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "TriggerThrottledEvents",
- "displayName": "Trigger Throttled Events",
- "displayDescription": "Number of workflow trigger throttled events.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableActionExecutions",
- "displayName": "Billable Action Executions",
- "displayDescription": "Number of workflow action executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableTriggerExecutions",
- "displayName": "Billable Trigger Executions",
- "displayDescription": "Number of workflow trigger executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TotalBillableExecutions",
- "displayName": "Total Billable Executions",
- "displayDescription": "Number of workflow executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableNativeActionExecutions",
- "displayName": "Billable Native Action Executions",
- "displayDescription": "Number of native workflow action executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableNativeTriggerExecutions",
- "displayName": "Billable Native Trigger Executions",
- "displayDescription": "Number of native workflow trigger executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TotalBillableNativeExecutions",
- "displayName": "Total Native Billable Executions",
- "displayDescription": "Number of native workflow executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableStandardActionExecutions",
- "displayName": "Billable Standard Action Executions",
- "displayDescription": "Number of standard workflow action executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableStandardTriggerExecutions",
- "displayName": "Billable Standard Trigger Executions",
- "displayDescription": "Number of standard workflow trigger executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TotalBillableStandardExecutions",
- "displayName": "Total Standard Billable Executions",
- "displayDescription": "Number of standard workflow executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- }
- ]
- }
- }
- },
- {
- "origin": "System",
+ }
+ },
+ {
"name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read",
"display": {
"provider": "Microsoft Logic",
"resource": "Workflow Log Definition",
"operation": "Get Workflow Log Definition"
- },
- "properties": {
- "serviceSpecification": {
- "logSpecifications": [
- {
- "name": "WorkflowRuntime",
- "displayName": "Workflow runtime diagnostic events",
- "description": "Diagnostic events related to workflow runtime executions.",
- "blobDuration": "PT1H"
- }
- ]
- }
}
},
{
@@ -913,24 +351,11 @@
}
},
{
- "origin": "System",
"name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read",
"display": {
"provider": "Microsoft Logic",
"resource": "Integration Account Log Definition",
"operation": "Get Integration Account Log Definition"
- },
- "properties": {
- "serviceSpecification": {
- "logSpecifications": [
- {
- "name": "IntegrationAccountTrackingEvents",
- "displayName": "Integration Account track events",
- "description": "Track events related to Integration Account.",
- "blobDuration": "PT1H"
- }
- ]
- }
}
},
{
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json
new file mode 100644
index 000000000000..8576c68e7cfe
--- /dev/null
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json
@@ -0,0 +1,194 @@
+{
+ "title": "Create or update integration account rosettanet process configuration example",
+ "parameters": {
+ "api-version": "2016-06-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "integrationAccountName": "testia123",
+ "rosettaNetProcessConfigurationName": "3A4",
+ "rosettaNetProcessConfiguration": {
+ "properties": {
+ "processCode": "3A4",
+ "processVersion": "V02.02.00",
+ "processName": "Request Purchase Order",
+ "description": "Test description",
+ "activitySettings": {
+ "activityType": "RequestResponse",
+ "activityBehavior": {
+ "isAuthorizationRequired": false,
+ "persistentConfidentialityScope": "None",
+ "isSecuredTransportRequired": false,
+ "actionType": "DoubleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 2,
+ "timeToPerformInSeconds": 7200
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 600
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Purchase Order Request",
+ "role": "Buyer",
+ "description": "This partner role creates a demand for a product or service.",
+ "roleType": "Functional",
+ "service": "Buyer Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Request",
+ "description": "A request to accept a purchase order for fulfillment..",
+ "version": "V02.02.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Purchase Order Confirmation Action",
+ "role": "Seller",
+ "description": "An organization that sells products to partners in the supply chain.",
+ "roleType": "Organizational",
+ "service": "Seller Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Confirmation",
+ "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.",
+ "version": "V02.02.00"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Cache-Control": "no-cache",
+ "Pragma": "no-cache",
+ "Content-Type": "application/json; charset=utf-8",
+ "Expires": -1,
+ "Vary": "Accept-Encoding",
+ "Date": "Tue, 21 Feb 2019 20:43:03 GMT"
+ },
+ "body": {
+ "properties": {
+ "processCode": "3A4",
+ "processVersion": "V02.02.00",
+ "processName": "Request Purchase Order",
+ "description": "Test description",
+ "activitySettings": {
+ "activityType": "RequestResponse",
+ "activityBehavior": {
+ "isAuthorizationRequired": false,
+ "persistentConfidentialityScope": "None",
+ "isSecuredTransportRequired": false,
+ "actionType": "DoubleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 2,
+ "timeToPerformInSeconds": 7200
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 600
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Purchase Order Request",
+ "role": "Buyer",
+ "description": "This partner role creates a demand for a product or service.",
+ "roleType": "Functional",
+ "service": "Buyer Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Request",
+ "description": "A request to accept a purchase order for fulfillment..",
+ "version": "V02.02.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Purchase Order Confirmation Action",
+ "role": "Seller",
+ "description": "An organization that sells products to partners in the supply chain.",
+ "roleType": "Organizational",
+ "service": "Seller Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Confirmation",
+ "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.",
+ "version": "V02.02.00"
+ }
+ },
+ "createdTime": "2018-10-22T19:33:12.3769017Z",
+ "changedTime": "2019-02-21T20:41:35.9796534Z"
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4",
+ "name": "3A4",
+ "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations"
+ }
+ },
+ "201": {
+ "headers": {
+ "Cache-Control": "no-cache",
+ "Pragma": "no-cache",
+ "Content-Type": "application/json; charset=utf-8",
+ "Expires": -1,
+ "Date": "Tue, 21 Feb 2019 20:43:03 GMT"
+ },
+ "body": {
+ "properties": {
+ "createdTime": "2019-02-21T20:41:35.9789189Z",
+ "changedTime": "2019-02-21T20:41:35.9796534Z",
+ "processCode": "3A4",
+ "processVersion": "V02.02.00",
+ "processName": "Request Purchase Order",
+ "description": "Test description",
+ "activitySettings": {
+ "activityType": "RequestResponse",
+ "activityBehavior": {
+ "isAuthorizationRequired": false,
+ "persistentConfidentialityScope": "None",
+ "isSecuredTransportRequired": false,
+ "actionType": "DoubleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 2,
+ "timeToPerformInSeconds": 7200
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 600
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Purchase Order Request",
+ "role": "Buyer",
+ "description": "This partner role creates a demand for a product or service.",
+ "roleType": "Functional",
+ "service": "Buyer Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Request",
+ "description": "A request to accept a purchase order for fulfillment..",
+ "version": "V02.02.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Purchase Order Confirmation Action",
+ "role": "Seller",
+ "description": "An organization that sells products to partners in the supply chain.",
+ "roleType": "Organizational",
+ "service": "Seller Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Confirmation",
+ "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.",
+ "version": "V02.02.00"
+ }
+ }
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4",
+ "name": "3A4",
+ "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations"
+ }
+ }
+ }
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json
new file mode 100644
index 000000000000..64ef9a187eee
--- /dev/null
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2016-06-01",
+ "resourceGroupName": "testResourceGroup",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "integrationAccountName": "testIntegrationAccount",
+ "rosettaNetProcessConfigurationName": "3A4"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json
new file mode 100644
index 000000000000..7166e46950c4
--- /dev/null
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "api-version": "2016-06-01",
+ "resourceGroupName": "testResourceGroup",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "integrationAccountName": "testIntegrationAccount",
+ "rosettaNetProcessConfigurationName": "3A4"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "processCode": "3A4",
+ "processVersion": "V02.02.00",
+ "processName": "3A4",
+ "activitySettings": {
+ "activityType": "RequestResponse",
+ "activityBehavior": {
+ "isAuthorizationRequired": true,
+ "persistentConfidentialityScope": "Payload",
+ "isSecuredTransportRequired": true,
+ "actionType": "DoubleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 4,
+ "timeToPerformInSeconds": 600
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 60
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Purchase Order Request Action",
+ "role": "Buyer",
+ "description": "An employee or organization that buys products for a partner type in the supply chain.",
+ "roleType": "Functional",
+ "service": "Buyer Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Request",
+ "description": "A request to accept a purchase order for fulfillment.",
+ "version": "V02.02.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Purchase Order Confirmation Action",
+ "role": "Seller",
+ "description": "An organization that sells products to partners in the supply chain.",
+ "roleType": "Organizational",
+ "service": "Seller Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Confirmation",
+ "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.",
+ "version": "V02.02.00"
+ }
+ },
+ "createdTime": "2019-05-22T13:46:54.6312192Z",
+ "changedTime": "2019-05-29T20:09:48.5167814Z"
+ },
+ "id": "/integrationAccounts/testIntegrationAccount/rosettaNetProcessConfigurations/3A4",
+ "name": "3A4",
+ "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations"
+ }
+ }
+ }
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json
new file mode 100644
index 000000000000..199ee16443af
--- /dev/null
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json
@@ -0,0 +1,135 @@
+{
+ "title": "List by integration account rosettanet process configuration examples",
+ "parameters": {
+ "api-version": "2016-06-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "integrationAccountName": "testia123"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Cache-Control": "no-cache",
+ "Pragma": "no-cache",
+ "Content-Type": "application/json; charset=utf-8",
+ "Expires": -1,
+ "Vary": "Accept-Encoding",
+ "Date": "Tue, 28 May 2019 20:43:03 GMT"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "processCode": "0A1",
+ "processVersion": "V02.00.00",
+ "processName": "0A1",
+ "activitySettings": {
+ "activityType": "InformationDistribution",
+ "activityBehavior": {
+ "isAuthorizationRequired": false,
+ "persistentConfidentialityScope": "None",
+ "isSecuredTransportRequired": false,
+ "actionType": "SingleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 4,
+ "timeToPerformInSeconds": 86400
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 36400
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Failure Notification Action",
+ "role": "PIP Failure Notifier",
+ "description": "An organizational process that automatically notifies the appropriate Failure Report Administrator of a PIP process failure.",
+ "roleType": "Functional",
+ "service": "PIP Failure Notifier Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Failure Notification",
+ "description": "An unsolicited formal notification of the failure to perform a business activity.",
+ "version": "V02.00.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Failure Notification Action",
+ "role": "Failure Report Administrator",
+ "description": "An employee or organizational entity that receives and processes PIP Failure Notifications.",
+ "roleType": "Organizational",
+ "service": "Failure Report Administrator Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Failure Notification",
+ "description": "An unsolicited formal notification of the failure to perform a business activity.",
+ "version": "V02.00.00"
+ }
+ },
+ "createdTime": "2019-05-22T13:47:26.330972Z",
+ "changedTime": "2019-05-22T13:47:26.3328234Z"
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123//rosettaNetProcessConfigurations/0A1",
+ "name": "IntegrationAccountSession1662",
+ "type": "Microsoft.Logic/integrationAccounts/sessions"
+ },
+ {
+ "properties": {
+ "processCode": "3A3",
+ "processVersion": "R02.00.00",
+ "processName": "3A3",
+ "activitySettings": {
+ "activityType": "RequestResponse",
+ "activityBehavior": {
+ "isAuthorizationRequired": false,
+ "persistentConfidentialityScope": "None",
+ "isSecuredTransportRequired": false,
+ "actionType": "DoubleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 4,
+ "timeToPerformInSeconds": 86400
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 36400
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Shopping Cart Transfer Request Action",
+ "role": "Sales Facilitator",
+ "description": "This partner role facilitates the sale of product between partners in the supply chain.",
+ "roleType": "Functional",
+ "service": "Sales Facilitator Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Shopping Cart Transfer Request",
+ "description": "Requests a Supplier to confirm the transfer of a shopping cart.",
+ "version": "R02.00.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Shopping Cart Transfer Confirmation Action",
+ "role": "Supplier",
+ "description": "This partner role supplies product to customers in the supply chain.",
+ "roleType": "Organizational",
+ "service": "Supplier Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Shopping Cart Transfer Confirmation",
+ "description": "Confirms the transfer of a shopping cart from a Sales Facilitator to a Supplier.",
+ "version": "R02.00.00"
+ }
+ },
+ "createdTime": "2019-05-31T06:46:08.1261454Z",
+ "changedTime": "2019-05-31T06:46:08.129905Z"
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A3",
+ "name": "3A3",
+ "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations"
+ }
+ ]
+ }
+ }
+ }
+}
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 1e63c5e355d0..485d4d3c6187 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
@@ -32,7 +32,6 @@
"startTime": "2018-08-10T20:16:32.305236Z",
"endTime": "2018-08-10T20:16:32.5450625Z",
"correlation": {
- "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca",
"clientTrackingId": "08586676746934337772206998657CU22"
},
"status": "Succeeded",
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 5515bad5129f..d66df6776a95 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
@@ -33,7 +33,6 @@
"startTime": "2018-08-10T20:16:32.305236Z",
"endTime": "2018-08-10T20:16:32.5450625Z",
"correlation": {
- "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca",
"clientTrackingId": "08586676746934337772206998657CU22"
},
"status": "Succeeded",
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 561d6fe7e4ab..4dc85ea24f6b 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
@@ -13,7 +13,6 @@
"properties": {
"startTime": "2018-08-10T20:16:32.0387927Z",
"endTime": "2018-08-10T20:16:32.2987996Z",
- "scheduledTime": "2018-08-10T20:16:31.6344174Z",
"status": "Succeeded",
"code": "OK",
"correlation": {
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 62efc66a2ea2..3d66e13bc6f8 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
@@ -14,7 +14,6 @@
"properties": {
"startTime": "2018-08-10T20:16:32.0387927Z",
"endTime": "2018-08-10T20:16:32.2987996Z",
- "scheduledTime": "2018-08-10T20:16:31.6344174Z",
"status": "Succeeded",
"code": "OK",
"correlation": {
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 e6003828a922..94b13c0ac57e 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
@@ -9,20 +9,8 @@
"responses": {
"200": {
"body": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-08-10T17:32:30.2496336Z",
- "changedTime": "2018-08-10T18:47:49.5288666Z",
- "state": "Enabled",
- "workflow": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478",
- "name": "08586676800160476478",
- "type": "Microsoft.Logic/workflows/versions"
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual",
- "name": "manual",
- "type": "Microsoft.Logic/workflows/triggers"
+ "title": "testworkflow",
+ "content": "{}"
}
}
}
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 cccbaa5b4b43..d5ef6341bd95 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
@@ -7,6 +7,8 @@
"triggerName": "manual"
},
"responses": {
- "default": {}
+ "default": {
+ "body": {}
+ }
}
}
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 5403d91ae704..3887816c0f0c 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
@@ -6,9 +6,7 @@
"workflowName": "testWorkflow",
"triggerName": "testTrigger",
"setState": {
- "source": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/sourceResGroup/providers/Microsoft.Logic/workflows/sourceWorkflow/triggers/sourceTrigger"
- }
+ "source": {}
}
},
"responses": {
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 733de00f26b3..68bf77a17872 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
@@ -10,9 +10,6 @@
"200": {
"body": {
"properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
"state": "Enabled",
"version": "08586677515911718341",
"accessEndpoint": "http://tempuri.org",
@@ -29,41 +26,7 @@
"actions": {},
"outputs": {}
},
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
- },
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
+ "parameters": {}
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
"name": "test-workflow",
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 84537638be6e..0812c0df6ad0 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
@@ -11,9 +11,6 @@
"value": [
{
"properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
"state": "Enabled",
"version": "08586677515911718341",
"accessEndpoint": "http://tempuri.org",
@@ -30,41 +27,7 @@
"actions": {},
"outputs": {}
},
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
- },
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
+ "parameters": {}
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
"name": "test-workflow",
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 36f0885e4c66..90c83fc78aa3 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
@@ -6,11 +6,6 @@
"workflowName": "test-workflow",
"workflow": {
"properties": {
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
@@ -85,41 +80,7 @@
"actions": {},
"outputs": {}
},
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
- },
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
+ "parameters": {}
}
}
},
@@ -145,41 +106,7 @@
"actions": {},
"outputs": {}
},
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
- },
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
+ "parameters": {}
}
}
}
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 dc0928646af0..e9a8d30c027a 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
@@ -28,41 +28,7 @@
"actions": {},
"outputs": {}
},
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
- },
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
+ "parameters": {}
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
"name": "test-workflow",
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 74886e6baa4f..bee0ba58a582 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
@@ -29,41 +29,7 @@
"actions": {},
"outputs": {}
},
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
- },
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
+ "parameters": {}
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
"name": "test-workflow",
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 33ba47f6e362..9aee6ae8b6e1 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
@@ -28,41 +28,7 @@
"actions": {},
"outputs": {}
},
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
- },
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
+ "parameters": {}
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
"name": "test-workflow",
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 d0ddd1d86533..22a0534d49f4 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
@@ -5,7 +5,18 @@
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workflowName": "testWorkflow",
"move": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/newResourceGroup/providers/Microsoft.Logic/workflows/newWorkflowName"
+ "properties": {
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ }
+ },
+ "location": "brazilsouth",
+ "tags": {}
}
},
"responses": {
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 d55e231b78f4..68cbe17e3b4f 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
@@ -6,11 +6,6 @@
"workflowName": "test-workflow",
"workflow": {
"properties": {
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
@@ -85,41 +80,7 @@
"actions": {},
"outputs": {}
},
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
- },
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
+ "parameters": {}
}
}
}
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 a1ad978dc8c7..407bb45c8b9d 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
@@ -2,29 +2,11 @@
"parameters": {
"api-version": "2016-06-01",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "test-resource-group",
"location": "brazilsouth",
"workflowName": "test-workflow",
- "validate": {
- "properties": {
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
+ "workflow": {
+ "properties": {}
}
},
"responses": {
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 de320d2784ec..3450d80c569f 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
@@ -6,11 +6,6 @@
"workflowName": "test-workflow",
"validate": {
"properties": {
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
@@ -20,9 +15,6 @@
"outputs": {}
}
},
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
"location": "brazilsouth",
"tags": {}
}
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 5f0b844762c9..77d4055b2c5e 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
@@ -4921,6 +4921,232 @@
"x-ms-odata": "#/definitions/IntegrationAccountSessionFilter"
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/rosettanetprocessconfigurations": {
+ "get": {
+ "tags": [
+ "IntegrationAccountRosettaNetProcessConfigurations"
+ ],
+ "operationId": "RosettaNetProcessConfigurations_ListByIntegrationAccounts",
+ "description": "Gets a list of integration account RosettaNet process configurations.",
+ "x-ms-examples": {
+ "Get RosettaNetProcessConfigurations by integrationaccount name": {
+ "$ref": "./examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json"
+ }
+ },
+ "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/IntegrationAccountRosettaNetProcessConfigurationListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/rosettanetprocessconfigurations/{rosettaNetProcessConfigurationName}": {
+ "get": {
+ "tags": [
+ "IntegrationAccountRosettaNetProcessConfigurations"
+ ],
+ "operationId": "RosettaNetProcessConfigurations_Get",
+ "description": "Gets an integration account RosettaNetProcessConfiguration.",
+ "x-ms-examples": {
+ "Get RosettaNetProcessConfiguration by name": {
+ "$ref": "./examples/RosettaNetProcessConfigurationsGet.json"
+ }
+ },
+ "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": "rosettaNetProcessConfigurationName",
+ "description": "The integration account RosettaNetProcessConfiguration name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "IntegrationAccountRosettaNetProcessConfigurations"
+ ],
+ "operationId": "RosettaNetProcessConfigurations_CreateOrUpdate",
+ "description": "Creates or updates an integration account RosettaNetProcessConfiguration.",
+ "x-ms-examples": {
+ "Create or update an RosettaNetProcessConfiguration": {
+ "$ref": "./examples/RosettaNetProcessConfigurationsCreateOrUpdate.json"
+ }
+ },
+ "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": "rosettaNetProcessConfigurationName",
+ "description": "The integration account RosettaNet ProcessConfiguration name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "rosettaNetProcessConfiguration",
+ "description": "The integration account RosettaNet ProcessConfiguration.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "IntegrationAccountRosettaNetProcessConfigurations"
+ ],
+ "operationId": "RosettaNetProcessConfigurations_Delete",
+ "description": "Deletes an integration account RosettaNet ProcessConfiguration.",
+ "x-ms-examples": {
+ "Delete an RosettaNetProcessConfiguration": {
+ "$ref": "./examples/RosettaNetProcessConfigurationsDelete.json"
+ }
+ },
+ "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": "rosettaNetProcessConfigurationName",
+ "description": "The integration account RosettaNetProcessConfiguration 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}/sessions/{sessionName}": {
"get": {
"tags": [
@@ -8209,6 +8435,19 @@
"modelAsString": true
}
},
+ "MessageEncoding": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Base64",
+ "EightBit",
+ "QuotedPrintable"
+ ],
+ "x-ms-enum": {
+ "name": "MessageEncoding",
+ "modelAsString": false
+ }
+ },
"TrailingSeparatorPolicy": {
"type": "string",
"enum": [
@@ -9030,6 +9269,323 @@
"modelAsString": false
}
},
+ "IntegrationAccountRosettaNetProcessConfigurationListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration"
+ },
+ "description": "The list of integration account RosettaNet PIP configuration."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "The list of integration account RosettaNet process configuration."
+ },
+ "IntegrationAccountRosettaNetProcessConfiguration": {
+ "type": "object",
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfigurationProperties",
+ "description": "The integration account RosettaNet process configuration properties."
+ }
+ },
+ "description": "The integration account RosettaNet process configuration.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ]
+ },
+ "IntegrationAccountRosettaNetProcessConfigurationProperties": {
+ "type": "object",
+ "required": [
+ "processCode",
+ "processVersion",
+ "processName",
+ "activitySettings",
+ "initiatorRoleSettings",
+ "responderRoleSettings"
+ ],
+ "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": {},
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "activitySettings": {
+ "$ref": "#/definitions/RosettaNetPipActivitySettings",
+ "description": "The RosettaNet process configuration activity settings."
+ },
+ "processCode": {
+ "type": "string",
+ "description": "The integration account RosettaNet process code."
+ },
+ "processVersion": {
+ "type": "string",
+ "description": "The integration account RosettaNet process version."
+ },
+ "processName": {
+ "type": "string",
+ "description": "The integration account RosettaNet process name."
+ },
+ "initiatorRoleSettings": {
+ "$ref": "#/definitions/RosettaNetPipRoleSettings",
+ "description": "The RosettaNet initiator role settings."
+ },
+ "responderRoleSettings": {
+ "$ref": "#/definitions/RosettaNetPipRoleSettings",
+ "description": "The RosettaNet responder role settings."
+ },
+ "description": {
+ "type": "string",
+ "description": "The integration account RosettaNet ProcessConfiguration properties."
+ }
+ },
+ "description": "The integration account RosettaNet process configuration properties."
+ },
+ "RosettaNetPipActivitySettings": {
+ "type": "object",
+ "required": [
+ "activityType",
+ "activityBehavior",
+ "acknowledgmentOfReceiptSettings"
+ ],
+ "properties": {
+ "activityType": {
+ "$ref": "#/definitions/RosettaNetPipActivityType",
+ "description": "The RosettaNet ProcessConfiguration activity type."
+ },
+ "activityBehavior": {
+ "$ref": "#/definitions/RosettaNetPipActivityBehavior",
+ "description": "The RosettaNet ProcessConfiguration activity behavior."
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "$ref": "#/definitions/RosettaNetPipAcknowledgmentOfReceiptSettings",
+ "description": "The RosettaNet ProcessConfiguration acknowledgement settings."
+ }
+ },
+ "description": "The integration account RosettaNet ProcessConfiguration activity settings."
+ },
+ "RosettaNetPipActivityType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "InformationDistribution",
+ "BusinessTransaction",
+ "Notification",
+ "QueryResponse",
+ "RequestConfirm",
+ "RequestResponse"
+ ],
+ "x-ms-enum": {
+ "name": "RosettaNetPipActivityType",
+ "modelAsString": false
+ }
+ },
+ "RosettaNetPipActivityBehavior": {
+ "type": "object",
+ "required": [
+ "isAuthorizationRequired",
+ "persistentConfidentialityScope",
+ "isSecuredTransportRequired",
+ "actionType",
+ "responseType",
+ "nonRepudiationOfOriginAndContent",
+ "retryCount",
+ "timeToPerformInSeconds"
+ ],
+ "properties": {
+ "isAuthorizationRequired": {
+ "type": "boolean",
+ "description": "The value indicating whether authorization is required."
+ },
+ "persistentConfidentialityScope": {
+ "$ref": "#/definitions/RosettaNetPipConfidentialityScope",
+ "description": "The persistent confidentiality encryption scope."
+ },
+ "isSecuredTransportRequired": {
+ "type": "boolean",
+ "description": "The value indicating whether secured transport is required."
+ },
+ "actionType": {
+ "$ref": "#/definitions/RosettaNetActionType",
+ "description": "The value indicating whether the RosettaNet PIP is used for a single action."
+ },
+ "responseType": {
+ "$ref": "#/definitions/RosettaNetResponseType",
+ "description": "The value indicating whether the RosettaNet PIP communication is synchronous."
+ },
+ "nonRepudiationOfOriginAndContent": {
+ "type": "boolean",
+ "description": "The value indicating whether non-repudiation is for origin and content."
+ },
+ "retryCount": {
+ "type": "integer",
+ "description": "The value indicating retry count."
+ },
+ "timeToPerformInSeconds": {
+ "type": "integer",
+ "description": "The time to perform in seconds."
+ }
+ },
+ "description": "The integration account RosettaNet ProcessConfiguration activity behavior."
+ },
+ "RosettaNetPipConfidentialityScope": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "None",
+ "Payload",
+ "PayloadContainer"
+ ],
+ "x-ms-enum": {
+ "name": "RosettaNetPipConfidentialityScope",
+ "modelAsString": false
+ }
+ },
+ "RosettaNetActionType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "SingleAction",
+ "DoubleAction"
+ ],
+ "x-ms-enum": {
+ "name": "RosettaNetActionType",
+ "modelAsString": false
+ }
+ },
+ "RosettaNetResponseType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Sync",
+ "Async"
+ ],
+ "x-ms-enum": {
+ "name": "RosettaNetResponseType",
+ "modelAsString": false
+ }
+ },
+ "RosettaNetPipAcknowledgmentOfReceiptSettings": {
+ "type": "object",
+ "required": [
+ "isNonRepudiationRequired",
+ "timeToAcknowledgeInSeconds"
+ ],
+ "properties": {
+ "isNonRepudiationRequired": {
+ "type": "boolean",
+ "description": "The non-repudiation is required or not."
+ },
+ "timeToAcknowledgeInSeconds": {
+ "type": "integer",
+ "description": "The time to acknowledge in seconds."
+ }
+ },
+ "description": "The integration account RosettaNet ProcessConfiguration Acknowledgement settings."
+ },
+ "RosettaNetPipRoleSettings": {
+ "type": "object",
+ "required": [
+ "action",
+ "role",
+ "roleType",
+ "service",
+ "serviceClassification",
+ "businessDocument"
+ ],
+ "properties": {
+ "action": {
+ "type": "string",
+ "description": "The action name."
+ },
+ "role": {
+ "type": "string",
+ "description": "The role name."
+ },
+ "roleType": {
+ "$ref": "#/definitions/RosettaNetPipRoleType",
+ "description": "The RosettaNet ProcessConfiguration role type."
+ },
+ "service": {
+ "type": "string",
+ "description": "The service name."
+ },
+ "serviceClassification": {
+ "type": "string",
+ "description": "The service classification name."
+ },
+ "businessDocument": {
+ "$ref": "#/definitions/RosettaNetPipBusinessDocument",
+ "description": "The RosettaNet ProcessConfiguration business document."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description."
+ }
+ },
+ "description": "The integration account RosettaNet ProcessConfiguration role settings."
+ },
+ "RosettaNetPipRoleType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Functional",
+ "Organizational",
+ "Employee"
+ ],
+ "x-ms-enum": {
+ "name": "RosettaNetPipRoleType",
+ "modelAsString": false
+ }
+ },
+ "RosettaNetPipBusinessDocument": {
+ "type": "object",
+ "required": [
+ "name",
+ "version"
+ ],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The business document name."
+ },
+ "version": {
+ "type": "string",
+ "description": "The business document version."
+ },
+ "description": {
+ "type": "string",
+ "description": "The business document description."
+ }
+ },
+ "description": "The RosettaNet ProcessConfiguration business document settings."
+ },
"IntegrationAccountCertificateListResult": {
"type": "object",
"properties": {
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 c5ea31cb57b0..84aa1b303a02 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
@@ -7,14 +7,8 @@
"api-version": "2018-06-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
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 cfb5339892be..27b0a8024fa7 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
@@ -7,14 +7,8 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
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 cfb5339892be..27b0a8024fa7 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
@@ -7,14 +7,8 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
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
index 58bb81f403be..124ec7d1a421 100644
--- 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
@@ -64,7 +64,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
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 8d51878323cd..2a5d616e1221 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
@@ -7,14 +7,8 @@
"api-version": "2017-12-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
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 0fa496b85696..eba76be987c7 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
@@ -7,14 +7,8 @@
"api-version": "2017-12-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
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 0fa496b85696..eba76be987c7 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
@@ -7,14 +7,8 @@
"api-version": "2017-12-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index 10a671309e50..b825963d2253 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index 10a671309e50..91ddf8dbb201 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index f738e3b1d708..de2c55109ce6 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index 96351f607cc6..30da3084fb12 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index 96351f607cc6..1da0f3c1d0f7 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 7c710544fc08..db77f1bdfabf 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index d22f75b02895..3257cf2699e5 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index d22f75b02895..e611cd50b9ec 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 066f97d5162e..b5c21146b223 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index 3334444c2ee7..55becf0da8d1 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index 3334444c2ee7..ff6f270028e4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 6f0fc3c95ccc..cc83627a32e2 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index ebfd022e5755..54435cfca0ca 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index ebfd022e5755..eb1ccae62e8a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 7398ad781c39..e64758731e5c 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index 1ed1ec19d524..fbd68483c395 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index 1ed1ec19d524..99afa273ab1a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 59d4bc164248..30aa6fd80c78 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index a548190789ca..79fe953c0218 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index a548190789ca..4707b07f4c79 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 57a7ae340e32..6cf3a2d6a0c4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitARPTableList.json
index 6e1e0f530837..be5f8db38bc5 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitARPTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitARPTableList.json
@@ -9,24 +9,17 @@
},
"responses": {
"200": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "IPAddress",
+ "macAddress": "macAddress"
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationGet.json
index 660dda304253..b3176e46fce4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationGet.json
@@ -8,13 +8,15 @@
},
"responses": {
"200": {
- "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"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationList.json
index 0426f5e42033..b7f792ae9b23 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitAuthorizationList.json
@@ -7,18 +7,20 @@
},
"responses": {
"200": {
- "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"
+ "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/2018-04-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListByResourceGroup.json
index aa374ab9483f..8c71ab2c1ca8 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListByResourceGroup.json
@@ -6,86 +6,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListBySubscription.json
index 55ba0df65341..55b4f90371d0 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListBySubscription.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitListBySubscription.json
@@ -5,86 +5,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringGet.json
index 339fe6ed5861..407ea13a6283 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringGet.json
@@ -8,45 +8,47 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringList.json
index fb5a1c357318..31c34ce6a1a5 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringList.json
@@ -7,71 +7,73 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
+ }
}
}
+ },
+ {
+ "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"
+ }
}
- },
- {
- "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"
- }
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringStats.json
index ed94e652dcae..67674f05dba9 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitPeeringStats.json
@@ -8,10 +8,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableList.json
index 41b0795242c7..cb014ddb2a6b 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
+ "body": {
+ "value": [
+ {
+ "network": "",
+ "nextHop": "",
+ "locPrf": "",
+ "weight": 0,
+ "path": ""
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
index 9fdaa612a7a3..3fbd7f1c4e34 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "neighbor": "100.65.171.1",
- "v": 4,
- "as": 9583,
- "upDown": "never",
- "statePfxRcd": "Idle"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "neighbor": "100.65.171.1",
+ "v": 4,
+ "as": 9583,
+ "upDown": "never",
+ "statePfxRcd": "Idle"
+ }
+ ]
+ }
},
- "202": {
- "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/2018-04-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitStats.json
index 75b0b3f7ec31..9bfc54b6cd0f 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCircuitStats.json
@@ -7,10 +7,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteProviderList.json
index 16be8dcf4ad0..bfe9b459db42 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteProviderList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteProviderList.json
@@ -5,54 +5,56 @@
},
"responses": {
"200": {
- "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
- }
- ]
+ "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/2018-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
index 7b141ad07272..35b33df3a8eb 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
@@ -7,14 +7,16 @@
},
"responses": {
"200": {
- "saLifeTimeSeconds": 86473,
- "saDataSizeKilobytes": 429497,
- "ipsecEncryption": "AES256",
- "ipsecIntegrity": "SHA256",
- "ikeEncryption": "AES256",
- "ikeIntegrity": "SHA384",
- "dhGroup": "DHGroup2",
- "pfsGroup": "PFS2"
+ "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/2018-04-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json
index d458ac071392..ce852f61d159 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json
@@ -16,41 +16,45 @@
},
"responses": {
"200": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
},
"201": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayPut.json
index 2880ac08c32a..e28e7afbcf5b 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayPut.json
@@ -38,88 +38,92 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayUpdateTags.json
index 489fea180f6e..d09eb878fd73 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnGatewayUpdateTags.json
@@ -13,96 +13,100 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index ece3955c87d5..435998a27699 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index ece3955c87d5..08238bd5d902 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index cc483348c9a0..2dfcc7ecc738 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json
index 2ce06074d41e..b03c36fc0a21 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json
@@ -9,24 +9,17 @@
},
"responses": {
"200": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "IPAddress",
+ "macAddress": "macAddress"
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json
index 4a18df9252ba..07632633eb59 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json
@@ -8,13 +8,15 @@
},
"responses": {
"200": {
- "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"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json
index a77e32369640..efc0ca1a1a3b 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json
@@ -7,18 +7,20 @@
},
"responses": {
"200": {
- "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"
+ "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/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json
index bc29908ac95e..b3a1126e5a9a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json
@@ -6,86 +6,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json
index 4b274c565730..f61aaa62ac17 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json
@@ -5,86 +5,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json
index 4c92f35faee3..3a23123356b4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json
@@ -8,45 +8,47 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json
index 89b9b5cb1f41..a77e6d80c50d 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json
@@ -7,71 +7,73 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
+ }
}
}
+ },
+ {
+ "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"
+ }
}
- },
- {
- "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"
- }
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json
index a84a8b4c314f..f0b8bfd2a118 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json
@@ -8,10 +8,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json
index 5d79a861972a..68250fddaa45 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
+ "body": {
+ "value": [
+ {
+ "network": "",
+ "nextHop": "",
+ "locPrf": "",
+ "weight": 0,
+ "path": ""
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
index ce3efb7c583b..4361169ea005 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "neighbor": "100.65.171.1",
- "v": 4,
- "as": 9583,
- "upDown": "never",
- "statePfxRcd": "Idle"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "neighbor": "100.65.171.1",
+ "v": 4,
+ "as": 9583,
+ "upDown": "never",
+ "statePfxRcd": "Idle"
+ }
+ ]
+ }
},
- "202": {
- "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/2018-06-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json
index 180ba481b9df..1e7519f21341 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json
@@ -7,10 +7,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json
index 78a950995407..590d9caca3b4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json
@@ -5,54 +5,56 @@
},
"responses": {
"200": {
- "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
- }
- ]
+ "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/2018-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
index a96c52445e82..bc6333e0ee1a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
@@ -7,14 +7,16 @@
},
"responses": {
"200": {
- "saLifeTimeSeconds": 86473,
- "saDataSizeKilobytes": 429497,
- "ipsecEncryption": "AES256",
- "ipsecIntegrity": "SHA256",
- "ikeEncryption": "AES256",
- "ikeIntegrity": "SHA384",
- "dhGroup": "DHGroup2",
- "pfsGroup": "PFS2"
+ "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/2018-06-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json
index 35eccf253b3d..1112ddf1de61 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json
@@ -16,41 +16,45 @@
},
"responses": {
"200": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
},
"201": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayPut.json
index e2c2b2f9e898..c3e3d013152a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayPut.json
@@ -38,88 +38,92 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayUpdateTags.json
index f385baa787ff..22265072adc5 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnGatewayUpdateTags.json
@@ -13,96 +13,100 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index 7c7aad7d6b99..e82dce94c35d 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index 7c7aad7d6b99..9f7ad545825a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 367e529b09fc..4d4a01e054f8 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitARPTableList.json
index c845959b1e6f..71638c1f6655 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitARPTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitARPTableList.json
@@ -9,24 +9,17 @@
},
"responses": {
"200": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "IPAddress",
+ "macAddress": "macAddress"
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationGet.json
index 1d1eb52dd830..15db5aed4ca0 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationGet.json
@@ -8,13 +8,15 @@
},
"responses": {
"200": {
- "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"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationList.json
index 3cdcfdf5d9e3..f096f47daa2f 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitAuthorizationList.json
@@ -7,18 +7,20 @@
},
"responses": {
"200": {
- "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"
+ "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/2018-07-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListByResourceGroup.json
index 6b979154ee4c..3fa88916d5ec 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListByResourceGroup.json
@@ -6,86 +6,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListBySubscription.json
index 73a7680c03ee..eb228491c1af 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListBySubscription.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitListBySubscription.json
@@ -5,86 +5,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringGet.json
index 995c6661e833..bf9d13222656 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringGet.json
@@ -8,45 +8,47 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringList.json
index e2d946362923..080611c43d58 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringList.json
@@ -7,71 +7,73 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
+ }
}
}
+ },
+ {
+ "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"
+ }
}
- },
- {
- "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"
- }
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringStats.json
index 1c7a26eb2ba1..15c26dd3307a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitPeeringStats.json
@@ -8,10 +8,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableList.json
index 46eee8cb1a8d..9a95c9d5fd12 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
+ "body": {
+ "value": [
+ {
+ "network": "",
+ "nextHop": "",
+ "locPrf": "",
+ "weight": 0,
+ "path": ""
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
index 4bb025467f83..67d32a75657c 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "neighbor": "100.65.171.1",
- "v": 4,
- "as": 9583,
- "upDown": "never",
- "statePfxRcd": "Idle"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "neighbor": "100.65.171.1",
+ "v": 4,
+ "as": 9583,
+ "upDown": "never",
+ "statePfxRcd": "Idle"
+ }
+ ]
+ }
},
- "202": {
- "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/2018-07-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitStats.json
index 284dc31ce0de..74a589a1e552 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCircuitStats.json
@@ -7,10 +7,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteProviderList.json
index 5131eeb15a0f..290635ed8fd4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteProviderList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteProviderList.json
@@ -5,54 +5,56 @@
},
"responses": {
"200": {
- "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
- }
- ]
+ "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/2018-07-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
index 6846c5e322d6..526138e911f8 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
@@ -7,14 +7,16 @@
},
"responses": {
"200": {
- "saLifeTimeSeconds": 86473,
- "saDataSizeKilobytes": 429497,
- "ipsecEncryption": "AES256",
- "ipsecIntegrity": "SHA256",
- "ikeEncryption": "AES256",
- "ikeIntegrity": "SHA384",
- "dhGroup": "DHGroup2",
- "pfsGroup": "PFS2"
+ "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/2018-07-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json
index 4ac5b0c3a504..726c338c32a4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json
@@ -16,41 +16,45 @@
},
"responses": {
"200": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
},
"201": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayPut.json
index b263fe67aa99..fc277fb78643 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayPut.json
@@ -38,88 +38,92 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayUpdateTags.json
index 3cd2a4b3450e..a2782c60f8f2 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnGatewayUpdateTags.json
@@ -13,96 +13,100 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index 947636656e56..536d0e4cefed 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index 947636656e56..65a428e88b98 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index cc335f6eea83..dc5cf97229aa 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitARPTableList.json
index fe64e8eebec9..96c5068dce47 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitARPTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitARPTableList.json
@@ -9,24 +9,17 @@
},
"responses": {
"200": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "IPAddress",
+ "macAddress": "macAddress"
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationGet.json
index 6e8a41df56a8..2cc19ec41187 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationGet.json
@@ -8,13 +8,15 @@
},
"responses": {
"200": {
- "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"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationList.json
index d084ec9a25a8..05242f69ec97 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitAuthorizationList.json
@@ -7,18 +7,20 @@
},
"responses": {
"200": {
- "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"
+ "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/2018-08-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListByResourceGroup.json
index cd5cb411ad89..9e83fe16797b 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListByResourceGroup.json
@@ -6,86 +6,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListBySubscription.json
index 6da0614364e7..2b6f444b0aec 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListBySubscription.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitListBySubscription.json
@@ -5,86 +5,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json
index 625af96a8057..6e9a55856b9f 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json
@@ -8,45 +8,47 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json
index 1f5e75f346fa..3b68dc449c2e 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json
@@ -7,80 +7,82 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
}
- },
- "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/2018-08-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringStats.json
index 01f486c94855..08eebc22167b 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringStats.json
@@ -8,10 +8,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableList.json
index a212788a273d..20055db12c60 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
+ "body": {
+ "value": [
+ {
+ "network": "",
+ "nextHop": "",
+ "locPrf": "",
+ "weight": 0,
+ "path": ""
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
index 8dc4541403b1..5de3961d1ec6 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "neighbor": "100.65.171.1",
- "v": 4,
- "as": 9583,
- "upDown": "never",
- "statePfxRcd": "Idle"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "neighbor": "100.65.171.1",
+ "v": 4,
+ "as": 9583,
+ "upDown": "never",
+ "statePfxRcd": "Idle"
+ }
+ ]
+ }
},
- "202": {
- "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/2018-08-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitStats.json
index 486e0afc387d..e951f6a2d08a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitStats.json
@@ -7,10 +7,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteProviderList.json
index 0bcb53ada78e..448aad86176c 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteProviderList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteProviderList.json
@@ -5,54 +5,56 @@
},
"responses": {
"200": {
- "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
- }
- ]
+ "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/2018-08-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayPut.json
index 06077555effb..5be0571a7d7e 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayPut.json
@@ -27,58 +27,62 @@
},
"responses": {
"200": {
- "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"
- ]
- },
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 0,
- "allocatedIpAddresses": [],
- "totalIngressBytesTransferred": 0,
- "totalEgressBytesTransferred": 0
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
}
}
},
"201": {
- "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"
- ]
- },
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 0,
- "allocatedIpAddresses": [],
- "totalIngressBytesTransferred": 0,
- "totalEgressBytesTransferred": 0
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayUpdateTags.json
index 6a5f2aa2b129..5ee53275e0c7 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnGatewayUpdateTags.json
@@ -13,72 +13,76 @@
},
"responses": {
"200": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
}
}
},
"201": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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"
+ ]
+ },
+ "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/2018-08-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationGet.json
index 0bfbfdf3c86a..ce7eee0b8415 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationGet.json
@@ -8,78 +8,80 @@
},
"responses": {
"200": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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/2018-08-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationList.json
index ddb5130d3251..0e13b0a7a3d8 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationList.json
@@ -48,7 +48,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates"
}
@@ -74,7 +74,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates"
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationPut.json
index 15c70ecdc82b..26081aadc449 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/P2SVpnServerConfigurationPut.json
@@ -61,152 +61,156 @@
},
"responses": {
"200": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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"
+ }
},
"201": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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/2018-08-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
index eaba28e14dac..9d1653391bcc 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
@@ -7,14 +7,16 @@
},
"responses": {
"200": {
- "saLifeTimeSeconds": 86473,
- "saDataSizeKilobytes": 429497,
- "ipsecEncryption": "AES256",
- "ipsecIntegrity": "SHA256",
- "ikeEncryption": "AES256",
- "ikeIntegrity": "SHA384",
- "dhGroup": "DHGroup2",
- "pfsGroup": "PFS2"
+ "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/2018-08-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnConnectionPut.json
index 76876a71ecc4..5fd2c849b855 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnConnectionPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnConnectionPut.json
@@ -17,43 +17,47 @@
},
"responses": {
"200": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
},
"201": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayPut.json
index 44d10551772e..590244612392 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayPut.json
@@ -34,80 +34,84 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayUpdateTags.json
index f3dc8ed669e9..dee1ce79071e 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/VpnGatewayUpdateTags.json
@@ -13,96 +13,100 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index 3a98dc7bbf66..a3e999e5a0db 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index 3a98dc7bbf66..a8fa0fa45ad7 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 7834a5899740..8ad260d30fcb 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitARPTableList.json
index 3404123c3433..0aa033f64326 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitARPTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitARPTableList.json
@@ -9,24 +9,17 @@
},
"responses": {
"200": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "IPAddress",
+ "macAddress": "macAddress"
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationGet.json
index a10b2c388ea0..73fddb19d033 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationGet.json
@@ -8,13 +8,15 @@
},
"responses": {
"200": {
- "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"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationList.json
index 1314f8d1f215..d79ea1a1492d 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitAuthorizationList.json
@@ -7,18 +7,20 @@
},
"responses": {
"200": {
- "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"
+ "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/2018-10-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListByResourceGroup.json
index 68868c392e3b..3a7e16629046 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListByResourceGroup.json
@@ -6,86 +6,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListBySubscription.json
index f9bd8e86f338..8326c3d1962b 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListBySubscription.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitListBySubscription.json
@@ -5,86 +5,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringGet.json
index 1c7324c3f28b..9f486f17767a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringGet.json
@@ -8,45 +8,47 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringList.json
index 47096ca49237..e1b772048f19 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringList.json
@@ -7,80 +7,82 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
}
- },
- "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/2018-10-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringStats.json
index 629ae740860c..1524985eac94 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitPeeringStats.json
@@ -8,10 +8,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableList.json
index c90403d492c2..44d4a20232c4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
+ "body": {
+ "value": [
+ {
+ "network": "",
+ "nextHop": "",
+ "locPrf": "",
+ "weight": 0,
+ "path": ""
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
index 06f51ddd12f6..b4460c23f1cb 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "neighbor": "100.65.171.1",
- "v": 4,
- "as": 9583,
- "upDown": "never",
- "statePfxRcd": "Idle"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "neighbor": "100.65.171.1",
+ "v": 4,
+ "as": 9583,
+ "upDown": "never",
+ "statePfxRcd": "Idle"
+ }
+ ]
+ }
},
- "202": {
- "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/2018-10-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitStats.json
index 82f4a7aecf76..18cc954e4e5f 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCircuitStats.json
@@ -7,10 +7,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteProviderList.json
index f0b64c2d5cd0..6a166be62dcb 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteProviderList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteProviderList.json
@@ -5,54 +5,56 @@
},
"responses": {
"200": {
- "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
- }
- ]
+ "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/2018-10-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayPut.json
index 2ca73cc509f6..d42302223cd5 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayPut.json
@@ -27,58 +27,62 @@
},
"responses": {
"200": {
- "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"
- ]
- },
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 0,
- "allocatedIpAddresses": [],
- "totalIngressBytesTransferred": 0,
- "totalEgressBytesTransferred": 0
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
}
}
},
"201": {
- "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"
- ]
- },
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 0,
- "allocatedIpAddresses": [],
- "totalIngressBytesTransferred": 0,
- "totalEgressBytesTransferred": 0
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayUpdateTags.json
index ac19739817ce..86c96108bab4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnGatewayUpdateTags.json
@@ -13,72 +13,76 @@
},
"responses": {
"200": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
}
}
},
"201": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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"
+ ]
+ },
+ "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/2018-10-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationGet.json
index bfa3f5f06a80..6feb20916530 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationGet.json
@@ -8,78 +8,80 @@
},
"responses": {
"200": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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/2018-10-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationList.json
index 4f59a358d70a..d6082445ff1b 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationList.json
@@ -48,7 +48,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates"
}
@@ -74,7 +74,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates"
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationPut.json
index 3954023d780a..3c596dd9a790 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/P2SVpnServerConfigurationPut.json
@@ -61,152 +61,156 @@
},
"responses": {
"200": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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"
+ }
},
"201": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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/2018-10-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
index abc07e94dbd2..9369a00e2825 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
@@ -7,14 +7,16 @@
},
"responses": {
"200": {
- "saLifeTimeSeconds": 86473,
- "saDataSizeKilobytes": 429497,
- "ipsecEncryption": "AES256",
- "ipsecIntegrity": "SHA256",
- "ikeEncryption": "AES256",
- "ikeIntegrity": "SHA384",
- "dhGroup": "DHGroup2",
- "pfsGroup": "PFS2"
+ "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/2018-10-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnConnectionPut.json
index 663237c06793..86c04a780a60 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnConnectionPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnConnectionPut.json
@@ -17,43 +17,47 @@
},
"responses": {
"200": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
},
"201": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayPut.json
index 39925b5da83e..a2c5239a9199 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayPut.json
@@ -34,80 +34,84 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayUpdateTags.json
index ba52c27cac48..8e027e52c697 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/VpnGatewayUpdateTags.json
@@ -13,96 +13,100 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index 60f83cf576fb..0b6d2f9f2e26 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index 60f83cf576fb..906aeb55eb7f 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 7fb5d57453ad..6bc4f075e047 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitARPTableList.json
index bbd4fbc18456..438a338b2688 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitARPTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitARPTableList.json
@@ -9,24 +9,17 @@
},
"responses": {
"200": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "IPAddress",
+ "macAddress": "macAddress"
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationGet.json
index 73fe3020cd37..0d0457d5cd4e 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationGet.json
@@ -8,13 +8,15 @@
},
"responses": {
"200": {
- "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"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationList.json
index 21da73b3ce53..c2fb553985c3 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitAuthorizationList.json
@@ -7,18 +7,20 @@
},
"responses": {
"200": {
- "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"
+ "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/2018-11-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListByResourceGroup.json
index 0b308c40bab2..8ccd252c6614 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListByResourceGroup.json
@@ -6,86 +6,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListBySubscription.json
index 8e7d4c91d1c8..9159d50fb941 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListBySubscription.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitListBySubscription.json
@@ -5,86 +5,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringGet.json
index cb756c11576f..44a83f166f27 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringGet.json
@@ -8,45 +8,47 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringList.json
index a5bc2f0c3f7c..f5f9bc9fea28 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringList.json
@@ -7,80 +7,82 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
}
- },
- "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/2018-11-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringStats.json
index c74d67f1cb09..64dbb70f39a1 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitPeeringStats.json
@@ -8,10 +8,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableList.json
index 097ce215074e..f75ff4c7d14f 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
+ "body": {
+ "value": [
+ {
+ "network": "",
+ "nextHop": "",
+ "locPrf": "",
+ "weight": 0,
+ "path": ""
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
index 7ca22e59960f..a8d767b521c7 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "neighbor": "100.65.171.1",
- "v": 4,
- "as": 9583,
- "upDown": "never",
- "statePfxRcd": "Idle"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "neighbor": "100.65.171.1",
+ "v": 4,
+ "as": 9583,
+ "upDown": "never",
+ "statePfxRcd": "Idle"
+ }
+ ]
+ }
},
- "202": {
- "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/2018-11-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitStats.json
index ac10fb2f461b..5c329e7cef31 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCircuitStats.json
@@ -7,10 +7,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteProviderList.json
index 838ba1e94aa4..78dea070f6e9 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteProviderList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteProviderList.json
@@ -5,54 +5,56 @@
},
"responses": {
"200": {
- "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
- }
- ]
+ "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/2018-11-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayPut.json
index ade17fa4334f..4b15585b32f3 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayPut.json
@@ -27,58 +27,62 @@
},
"responses": {
"200": {
- "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"
- ]
- },
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 0,
- "allocatedIpAddresses": [],
- "totalIngressBytesTransferred": 0,
- "totalEgressBytesTransferred": 0
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
}
}
},
"201": {
- "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"
- ]
- },
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 0,
- "allocatedIpAddresses": [],
- "totalIngressBytesTransferred": 0,
- "totalEgressBytesTransferred": 0
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayUpdateTags.json
index 9001e7514aa8..d83d5a3eedc3 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnGatewayUpdateTags.json
@@ -13,72 +13,76 @@
},
"responses": {
"200": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
}
}
},
"201": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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"
+ ]
+ },
+ "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/2018-11-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationGet.json
index 4a76d54291e8..92d3e2d3f17d 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationGet.json
@@ -8,78 +8,80 @@
},
"responses": {
"200": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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/2018-11-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationList.json
index f8aa6945abb4..af38acb7b7eb 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationList.json
@@ -48,7 +48,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates"
}
@@ -74,7 +74,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates"
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationPut.json
index e8a463356438..6989c49e29a6 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/P2SVpnServerConfigurationPut.json
@@ -61,152 +61,156 @@
},
"responses": {
"200": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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"
+ }
},
"201": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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/2018-11-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
index 8ac6ae0713ec..1d1e51d2018e 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
@@ -7,14 +7,16 @@
},
"responses": {
"200": {
- "saLifeTimeSeconds": 86473,
- "saDataSizeKilobytes": 429497,
- "ipsecEncryption": "AES256",
- "ipsecIntegrity": "SHA256",
- "ikeEncryption": "AES256",
- "ikeIntegrity": "SHA384",
- "dhGroup": "DHGroup2",
- "pfsGroup": "PFS2"
+ "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/2018-11-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnConnectionPut.json
index bb7f513e71bd..3da50526f384 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnConnectionPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnConnectionPut.json
@@ -17,43 +17,47 @@
},
"responses": {
"200": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
},
"201": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayPut.json
index b1e67394ceaf..b27b8a780e16 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayPut.json
@@ -34,80 +34,84 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayUpdateTags.json
index 6fcf4c7cb9a9..157c8cd3036d 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/VpnGatewayUpdateTags.json
@@ -13,96 +13,100 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index c3d8bd8ec4f9..706ece8ca7dc 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,31 @@
"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"
+ }
+ ],
+ "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"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index c3d8bd8ec4f9..7275f085289e 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,50 @@
"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"
+ ],
+ "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"
+ ],
+ "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"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 4f615c4d902b..0c407118bd62 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,20 @@
"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"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitARPTableList.json
index ed91df72b5c8..be92cceb4595 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitARPTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitARPTableList.json
@@ -9,24 +9,17 @@
},
"responses": {
"200": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "IPAddress",
+ "macAddress": "macAddress"
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationGet.json
index e74f12dc53bb..17b92c9d93c6 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationGet.json
@@ -8,13 +8,15 @@
},
"responses": {
"200": {
- "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"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationList.json
index 3310a851af51..b06bcfcd5d25 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitAuthorizationList.json
@@ -7,18 +7,20 @@
},
"responses": {
"200": {
- "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"
+ "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/2018-12-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListByResourceGroup.json
index beca1fe928a5..3eb0f3648c0a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListByResourceGroup.json
@@ -6,86 +6,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListBySubscription.json
index d7f8bb1850c9..9f41d9282090 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListBySubscription.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitListBySubscription.json
@@ -5,86 +5,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringGet.json
index 2e8e1552efcd..040b2b4ddf09 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringGet.json
@@ -8,45 +8,47 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringList.json
index 805a7647bf2e..a4be14a9bf26 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringList.json
@@ -7,80 +7,82 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
}
- },
- "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/2018-12-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringStats.json
index e1400af4d1e6..b6125f677328 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitPeeringStats.json
@@ -8,10 +8,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableList.json
index 1ac2944887eb..036eedfa768d 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
+ "body": {
+ "value": [
+ {
+ "network": "",
+ "nextHop": "",
+ "locPrf": "",
+ "weight": 0,
+ "path": ""
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
index 31c984ae6fc5..b253d525e96f 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "neighbor": "100.65.171.1",
- "v": 4,
- "as": 9583,
- "upDown": "never",
- "statePfxRcd": "Idle"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "neighbor": "100.65.171.1",
+ "v": 4,
+ "as": 9583,
+ "upDown": "never",
+ "statePfxRcd": "Idle"
+ }
+ ]
+ }
},
- "202": {
- "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/2018-12-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitStats.json
index 13835b530995..6e8223c1165f 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCircuitStats.json
@@ -7,10 +7,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteProviderList.json
index 79e5131a0449..208ed87427da 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteProviderList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteProviderList.json
@@ -5,54 +5,56 @@
},
"responses": {
"200": {
- "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
- }
- ]
+ "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/2018-12-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayPut.json
index 0feceb782f13..851dfe9762db 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayPut.json
@@ -27,58 +27,62 @@
},
"responses": {
"200": {
- "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"
- ]
- },
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 0,
- "allocatedIpAddresses": [],
- "totalIngressBytesTransferred": 0,
- "totalEgressBytesTransferred": 0
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
}
}
},
"201": {
- "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"
- ]
- },
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 0,
- "allocatedIpAddresses": [],
- "totalIngressBytesTransferred": 0,
- "totalEgressBytesTransferred": 0
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayUpdateTags.json
index c736117b89bf..721ae5462afc 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnGatewayUpdateTags.json
@@ -13,72 +13,76 @@
},
"responses": {
"200": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
}
}
},
"201": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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"
+ ]
+ },
+ "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/2018-12-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationGet.json
index 4d22e7ae80f4..00879f31ebff 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationGet.json
@@ -8,78 +8,80 @@
},
"responses": {
"200": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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/2018-12-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationList.json
index 4d52a00403f5..f1cee23330cf 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationList.json
@@ -48,7 +48,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates"
}
@@ -74,7 +74,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates"
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationPut.json
index 8dcd53d6dfd8..d9a33ccd9056 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/P2SVpnServerConfigurationPut.json
@@ -61,152 +61,156 @@
},
"responses": {
"200": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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"
+ }
},
"201": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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/2018-12-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
index c6ed5fa90daa..23d3e6d8aab5 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
@@ -7,14 +7,16 @@
},
"responses": {
"200": {
- "saLifeTimeSeconds": 86473,
- "saDataSizeKilobytes": 429497,
- "ipsecEncryption": "AES256",
- "ipsecIntegrity": "SHA256",
- "ikeEncryption": "AES256",
- "ikeIntegrity": "SHA384",
- "dhGroup": "DHGroup2",
- "pfsGroup": "PFS2"
+ "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/2018-12-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnConnectionPut.json
index 117c296741b5..54bdba9318a9 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnConnectionPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnConnectionPut.json
@@ -17,43 +17,47 @@
},
"responses": {
"200": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
},
"201": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayPut.json
index cfe3040cbb8c..bcd2a131fb40 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayPut.json
@@ -34,80 +34,84 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayUpdateTags.json
index 3aa42938b823..091a64894ac3 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/VpnGatewayUpdateTags.json
@@ -13,96 +13,100 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index 9e2d896e0d43..0b5e48cf6dca 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-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-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index 9e2d896e0d43..cb21a791f804 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-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-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 0ae49fa534e1..254c0b71ac98 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-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-02-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitARPTableList.json
index 919aaa250e79..bde170a71a05 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitARPTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitARPTableList.json
@@ -9,24 +9,17 @@
},
"responses": {
"200": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "IPAddress",
+ "macAddress": "macAddress"
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json
index fb3282cff7c9..98175436b9e0 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationGet.json
@@ -8,13 +8,15 @@
},
"responses": {
"200": {
- "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"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json
index 990b66a03767..e4a9943f4a7b 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitAuthorizationList.json
@@ -7,18 +7,20 @@
},
"responses": {
"200": {
- "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"
+ "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-02-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListByResourceGroup.json
index e29f9b36fbd7..2f116aded120 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListByResourceGroup.json
@@ -6,86 +6,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json
index e95ef64a2582..75d8e928aa1f 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitListBySubscription.json
@@ -5,86 +5,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json
index 4557349da6a0..045b198df558 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringGet.json
@@ -8,45 +8,47 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json
index dfae42d51969..c04f5b665a94 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringList.json
@@ -7,80 +7,82 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
}
- },
- "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-02-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringStats.json
index 9f2b0bc389fe..4e9015cc89d7 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitPeeringStats.json
@@ -8,10 +8,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json
index 238cdd9da317..e04334b76947 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
+ "body": {
+ "value": [
+ {
+ "network": "",
+ "nextHop": "",
+ "locPrf": "",
+ "weight": 0,
+ "path": ""
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
index 006f42a8800b..320c93df7a99 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "neighbor": "100.65.171.1",
- "v": 4,
- "as": 9583,
- "upDown": "never",
- "statePfxRcd": "Idle"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "neighbor": "100.65.171.1",
+ "v": 4,
+ "as": 9583,
+ "upDown": "never",
+ "statePfxRcd": "Idle"
+ }
+ ]
+ }
},
- "202": {
- "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-02-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitStats.json
index e476dcf3b51e..76e99f1f3a0f 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCircuitStats.json
@@ -7,10 +7,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json
index 316eef5a309e..8db34b616b63 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteProviderList.json
@@ -5,54 +5,56 @@
},
"responses": {
"200": {
- "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
- }
- ]
+ "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-02-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json
index 0cf6db19e4a8..718eb2c36f87 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json
@@ -32,68 +32,72 @@
},
"responses": {
"200": {
- "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
+ "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": {
- "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
+ "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-02-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json
index c954562108ae..a6a3b379a9b8 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json
@@ -13,82 +13,86 @@
},
"responses": {
"200": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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-02-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationGet.json
index ee2e1c1ca573..a3e4553b4175 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationGet.json
@@ -8,78 +8,80 @@
},
"responses": {
"200": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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-02-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationList.json
index e58e1f62744d..e3212e948af1 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationList.json
@@ -48,7 +48,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates"
}
@@ -74,7 +74,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates"
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json
index 19dcf65db7bb..80ac4e0d95cd 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnServerConfigurationPut.json
@@ -61,152 +61,156 @@
},
"responses": {
"200": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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"
+ }
},
"201": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
index c8f224eed580..12086572b5b9 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
@@ -7,14 +7,16 @@
},
"responses": {
"200": {
- "saLifeTimeSeconds": 86473,
- "saDataSizeKilobytes": 429497,
- "ipsecEncryption": "AES256",
- "ipsecIntegrity": "SHA256",
- "ikeEncryption": "AES256",
- "ikeIntegrity": "SHA384",
- "dhGroup": "DHGroup2",
- "pfsGroup": "PFS2"
+ "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-02-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionPut.json
index 1fd2d8545759..5d8a1c43fdf3 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnConnectionPut.json
@@ -17,45 +17,49 @@
},
"responses": {
"200": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "useLocalAzureIpAddress": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "useLocalAzureIpAddress": false,
+ "ipsecPolicies": []
+ }
}
},
"201": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "useLocalAzureIpAddress": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "useLocalAzureIpAddress": false,
+ "ipsecPolicies": []
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json
index 26cdd63dfd82..36fb11faa3ea 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayPut.json
@@ -34,82 +34,86 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "useLocalAzureIpAddress": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "useLocalAzureIpAddress": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "useLocalAzureIpAddress": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "useLocalAzureIpAddress": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json
index 7744e0f84bb0..1e86c59d6e04 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VpnGatewayUpdateTags.json
@@ -13,96 +13,100 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitARPTableList.json
index e5452435f387..94a19728ec37 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitARPTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitARPTableList.json
@@ -9,24 +9,17 @@
},
"responses": {
"200": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "IPAddress",
+ "macAddress": "macAddress"
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "age": 0,
- "interface": "Microsoft",
- "ipAddress": "IPAddress",
- "macAddress": "macAddress"
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json
index 73153e99471f..cb577c79d3c0 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationGet.json
@@ -8,15 +8,17 @@
},
"responses": {
"200": {
- "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"
+ "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-04-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationList.json
index 560ef0033ebc..cfad7a041878 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitAuthorizationList.json
@@ -7,18 +7,20 @@
},
"responses": {
"200": {
- "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"
+ "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-04-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListByResourceGroup.json
index 2c3adaeee700..ff01e4edbca5 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListByResourceGroup.json
@@ -6,86 +6,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json
index ba37e31050be..5bcabb57a13b 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitListBySubscription.json
@@ -5,86 +5,88 @@
},
"responses": {
"200": {
- "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",
- "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
- "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"
+ "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",
+ "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "113",
- "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
- "serviceProviderProvisioningState": "Provisioned"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
},
- "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",
- "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
- "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"
+ {
+ "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",
+ "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da",
+ "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
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
},
- "circuitProvisioningState": "Enabled",
- "allowClassicOperations": false,
- "gatewayManagerEtag": "",
- "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
- "serviceProviderProvisioningState": "NotProvisioned"
- },
- "sku": {
- "name": "Standard_MeteredData",
- "tier": "Standard",
- "family": "MeteredData"
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json
index e45f22b4799e..57dbafe2a051 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringGet.json
@@ -8,52 +8,54 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
}
},
- "routeFilter": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName"
- }
- },
- "type": "Microsoft.Network/expressRouteCircuits/peerings"
+ "type": "Microsoft.Network/expressRouteCircuits/peerings"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json
index 153e9069be3b..71f82bec3fa2 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringList.json
@@ -7,80 +7,82 @@
},
"responses": {
"200": {
- "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",
+ "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": [
- "3FFE:FFFF:0:CD31::/120"
+ "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"
}
- },
- "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-04-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringStats.json
index d542125582a7..6505b9dbf304 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitPeeringStats.json
@@ -8,10 +8,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json
index 05536fd8b56d..f4de8eb03df1 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
+ "body": {
+ "value": [
+ {
+ "network": "",
+ "nextHop": "",
+ "locPrf": "",
+ "weight": 0,
+ "path": ""
+ }
+ ]
+ }
},
- "202": {
- "value": [
- {
- "network": "",
- "nextHop": "",
- "locPrf": "",
- "weight": 0,
- "path": ""
- }
- ]
- }
+ "202": {}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
index 80b8c5be877c..a88eef1993f7 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
@@ -9,26 +9,18 @@
},
"responses": {
"200": {
- "value": [
- {
- "neighbor": "100.65.171.1",
- "v": 4,
- "as": 9583,
- "upDown": "never",
- "statePfxRcd": "Idle"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "neighbor": "100.65.171.1",
+ "v": 4,
+ "as": 9583,
+ "upDown": "never",
+ "statePfxRcd": "Idle"
+ }
+ ]
+ }
},
- "202": {
- "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-04-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitStats.json
index 8d85afba1c00..d22100de1dc2 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitStats.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCircuitStats.json
@@ -7,10 +7,12 @@
},
"responses": {
"200": {
- "primaryBytesIn": 537408,
- "primaryBytesOut": 44032550,
- "secondaryBytesIn": 0,
- "secondaryBytesOut": 39002500
+ "body": {
+ "primaryBytesIn": 537408,
+ "primaryBytesOut": 44032550,
+ "secondaryBytesIn": 0,
+ "secondaryBytesOut": 39002500
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json
index 6829d51b3d5a..c94b1263f5b4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteProviderList.json
@@ -5,54 +5,56 @@
},
"responses": {
"200": {
- "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
- }
- ]
+ "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-04-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayPut.json
index 362f45c9a5dc..fb535c02f2a7 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayPut.json
@@ -32,68 +32,72 @@
},
"responses": {
"200": {
- "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
+ "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": {
- "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
+ "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-04-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayUpdateTags.json
index 53e12737cb5c..4bfde6e0358c 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayUpdateTags.json
@@ -13,82 +13,86 @@
},
"responses": {
"200": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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": {
- "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"
- ]
+ "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"
},
- "vpnGatewayScaleUnit": 1,
- "vpnClientConnectionHealth": {
- "vpnClientConnectionsCount": 2,
- "allocatedIpAddresses": [
- "1.1.1.1",
- "2.2.2.2"
- ],
- "totalIngressBytesTransferred": 2000,
- "totalEgressBytesTransferred": 3000
+ "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-04-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationGet.json
index 2691ff6d53eb..892df12430ef 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationGet.json
@@ -8,78 +8,80 @@
},
"responses": {
"200": {
- "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/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": [
- {
- "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"
- },
- "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"
+ "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/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": [
+ {
+ "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"
+ },
+ "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/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationList.json
index 75c5080fe34e..f976288e9f0d 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationList.json
@@ -48,7 +48,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates"
}
@@ -74,7 +74,7 @@
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates"
}
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 51d8ca4af9c1..97c8c6472bb4 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
@@ -37,80 +37,84 @@
},
"responses": {
"200": {
- "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"
- }
- ],
- "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"
- },
- "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates"
- }
- ]
- },
- "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations"
+ "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"
+ }
+ ],
+ "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"
+ },
+ "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations"
+ }
},
"201": {
- "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"
- }
- ],
- "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"
- },
- "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates"
- }
- ]
- },
- "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations"
+ "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"
+ }
+ ],
+ "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"
+ },
+ "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations"
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
index cf39d8aaa5bb..68f9e9325007 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
@@ -7,14 +7,16 @@
},
"responses": {
"200": {
- "saLifeTimeSeconds": 86473,
- "saDataSizeKilobytes": 429497,
- "ipsecEncryption": "AES256",
- "ipsecIntegrity": "SHA256",
- "ikeEncryption": "AES256",
- "ikeIntegrity": "SHA384",
- "dhGroup": "DHGroup2",
- "pfsGroup": "PFS2"
+ "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-04-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionPut.json
index 1fcf79f8234c..7584f68bfa32 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnConnectionPut.json
@@ -17,47 +17,51 @@
},
"responses": {
"200": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "usePolicyBasedTrafficSelectors": false,
- "useLocalAzureIpAddress": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "useLocalAzureIpAddress": false,
+ "ipsecPolicies": []
+ }
}
},
"201": {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "vpnConnectionProtocolType": "IKEv1",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "usePolicyBasedTrafficSelectors": false,
- "useLocalAzureIpAddress": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "vpnConnectionProtocolType": "IKEv1",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "useLocalAzureIpAddress": false,
+ "ipsecPolicies": []
+ }
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json
index 997bced17a2b..99096556f03e 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayPut.json
@@ -34,82 +34,86 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "useLocalAzureIpAddress": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "useLocalAzureIpAddress": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
- },
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidth": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "useLocalAzureIpAddress": false,
- "ipsecPolicies": []
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "useLocalAzureIpAddress": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json
index 8ac4a427e4d7..b7cee97a4e95 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayUpdateTags.json
@@ -13,96 +13,100 @@
},
"responses": {
"200": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
},
"201": {
- "name": "gateway1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "location": "West US",
- "type": "Microsoft.Network/vpnGateways",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "virtualHub": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "connections": [
- {
- "name": "vpnConnection1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "remoteVpnSite": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
- },
- "connectionStatus": "Connected",
- "ingressBytesTransferred": 0,
- "egressBytesTransferred": 0,
- "routingWeight": 0,
- "connectionBandwidthInMbps": 100,
- "sharedKey": "key",
- "enableBgp": false,
- "ipsecPolicies": []
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidthInMbps": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
}
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "policies": {
+ "allowBranchToBranchTraffic": true,
+ "allowVnetToVnetTraffic": false
}
- ],
- "bgpSettings": {
- "asn": 65515,
- "bgpPeeringAddress": "10.0.1.30",
- "peerWeight": 0
- },
- "policies": {
- "allowBranchToBranchTraffic": true,
- "allowVnetToVnetTraffic": false
}
}
}
diff --git a/specification/network/resource-manager/readme.java.md b/specification/network/resource-manager/readme.java.md
index f3b716d3af1e..0c7b468e5551 100644
--- a/specification/network/resource-manager/readme.java.md
+++ b/specification/network/resource-manager/readme.java.md
@@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-network
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2019-06
- tag: package-2019-04
- tag: package-2019-02
- tag: package-2018-12
@@ -26,6 +27,19 @@ batch:
- tag: package-2017-10
```
+### Tag: package-2019-06 and java
+
+These settings apply only when `--tag=package-2019-06 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-06' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.network.v2019_06_01
+ output-folder: $(azure-libraries-for-java-folder)/network/resource-manager/v2019_06_01
+ regenerate-manager: true
+ generate-interface: true
+```
+
### Tag: package-2019-04 and java
These settings apply only when `--tag=package-2019-04 --java` is specified on the command line.
diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json
index 233cfaa25861..636054f232fc 100644
--- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json
+++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json
@@ -5,7 +5,7 @@
"title": "portal",
"description": "Allows creation and deletion of Azure Shared Dashboards.",
"x-ms-code-generation-settings": {
- "name": "portalClient"
+ "name": "PortalClient"
}
},
"host": "management.azure.com",
diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json
index 21e8fcd46a15..03962d24d35d 100644
--- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json
+++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteRegisteredIdentities.json
@@ -7,8 +7,6 @@
"api-version": "2016-06-01"
},
"responses": {
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json
index 34113f549015..99ef3eb85920 100644
--- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json
+++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/examples/DeleteVault.json
@@ -6,8 +6,6 @@
"api-version": "2016-06-01"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json
index efcab0724b59..0c6b7d25a3ff 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/MergeReservations.json
@@ -117,8 +117,6 @@
}
]
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json
index c5daae4af77b..e5abc02b3353 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/SplitReservation.json
@@ -108,8 +108,6 @@
}
]
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json
index 0447a109d142..c92f930afd1f 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2018-06-01/examples/UpdateReservation.json
@@ -41,8 +41,6 @@
}
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json
index 97f8a652b904..4956a8ec4b00 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json
@@ -34,6 +34,7 @@
"reservedResourceType": "VirtualMachines",
"instanceFlexibility": "Off",
"skuDescription": "D1 v2",
+ "term": "P1Y",
"mergeProperties": {
"mergeSources": [
"/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/00238563-7312-4c20-a134-8c030bf938a7",
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json
index 80f863f7311b..f5b46e7e3bd7 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json
@@ -123,8 +123,6 @@
}
]
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json
index 84d3c0db51ae..e16d637755a0 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json
@@ -114,8 +114,6 @@
}
]
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json
index 4a9084369241..107ebee173db 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json
@@ -43,8 +43,6 @@
}
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json
index 42cf24c2350e..cc1eb5632fdc 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json
@@ -1012,6 +1012,9 @@
},
"renewProperties": {
"$ref": "#/definitions/RenewPropertiesResponse"
+ },
+ "term": {
+ "$ref": "#/definitions/ReservationTerm"
}
}
},
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json
index c20dcb0ecee1..49ea8f447145 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/MergeReservations.json
@@ -108,8 +108,6 @@
}
]
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json
index 5748c448f403..82cb3eeb70b7 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/SplitReservation.json
@@ -99,8 +99,6 @@
}
]
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json
index 102576ecfe15..2ad867375eaa 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/examples/UpdateReservation.json
@@ -37,8 +37,6 @@
}
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json
index 80ecec82676c..d157f7133e25 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json
@@ -4899,25 +4899,19 @@
}
},
"required": [
- "uri",
- "httpHeaders",
- "httpMethod"
+ "uri"
],
"externalDocs": {
- "url": "https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface"
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-web-api"
},
"description": "A skill that can call a Web API endpoint, allowing you to extend a skillset by having it call your custom code."
},
"WebApiHttpHeaders": {
- "properties": {
- "headers": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "A dictionary of http request headers."
- }
- }
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "A dictionary of http request headers."
},
"SkillsetListResult": {
"properties": {
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json
new file mode 100644
index 000000000000..c022e8f1680e
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json
@@ -0,0 +1,262 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "MyGroup",
+ "solutionName": "default",
+ "iotSecuritySolutionData": {
+ "tags": {},
+ "location": "East Us",
+ "properties": {
+ "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
+ "status": "Enabled",
+ "export": [],
+ "disabledDataSources": [],
+ "displayName": "Solution Default",
+ "iotHubs": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "userDefinedResources": {
+ "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"",
+ "querySubscriptions": [
+ "075423e9-7d33-4166-8bdf-3920b04e3735"
+ ]
+ },
+ "recommendationsConfiguration": [
+ {
+ "recommendationType": "IoT_OpenPorts",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_SharedCredentials",
+ "status": "Disabled"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/Locations/eastus/IoTSecuritySolutions/default",
+ "name": "default",
+ "type": "Microsoft.Security/IoTSecuritySolutions",
+ "location": "East Us",
+ "tags": {},
+ "properties": {
+ "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
+ "status": "Enabled",
+ "export": [],
+ "disabledDataSources": [],
+ "displayName": "Solution Default",
+ "iotHubs": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "userDefinedResources": {
+ "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"",
+ "querySubscriptions": [
+ "075423e9-7d33-4166-8bdf-3920b04e3735"
+ ]
+ },
+ "autoDiscoveredResources": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735",
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "recommendationsConfiguration": [
+ {
+ "recommendationType": "IoT_ACRAuthentication",
+ "name": "Service Principal Not Used with ACR",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_AgentSendsUnutilizedMessages",
+ "name": "Agent sending underutilized messages",
+ "status": "TurnedOn"
+ },
+ {
+ "recommendationType": "IoT_Baseline",
+ "name": "Operating system (OS) baseline validation failure",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeHubMemOptimize",
+ "name": "Edge Hub memory can be optimized",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeLoggingOptions",
+ "name": "No Logging Configured for Edge Module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InconsistentModuleSettings",
+ "name": "Module Settings Inconsistent in SecurityGroup",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InstallAgent",
+ "name": "Install the Azure Security of Things Agent",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_DenyAll",
+ "name": "Default IP Filter Policy should be Deny",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_PermissiveRule",
+ "name": "IP Filter rule includes large IP range",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_OpenPorts",
+ "name": "Open Ports On Device",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveFirewallPolicy",
+ "name": "Permissive firewall policy in one of the chains was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveInputFirewallRules",
+ "name": "Permissive firewall rule in the input chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveOutputFirewallRules",
+ "name": "Permissive firewall rule in the output chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PrivilegedDockerOptions",
+ "name": "High level permissions configured in Edge model twin for Edge module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_SharedCredentials",
+ "name": "Same Authentication Credentials used by multiple devices",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_VulnerableTLSCipherSuite",
+ "name": "TLS cipher suite upgrade",
+ "status": "Enabled"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/Locations/eastus/IoTSecuritySolutions/default",
+ "name": "default",
+ "type": "Microsoft.Security/IoTSecuritySolutions",
+ "location": "East Us",
+ "tags": {},
+ "properties": {
+ "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
+ "status": "Enabled",
+ "export": [],
+ "disabledDataSources": [],
+ "displayName": "Solution Default",
+ "iotHubs": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "userDefinedResources": {
+ "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"",
+ "querySubscriptions": [
+ "075423e9-7d33-4166-8bdf-3920b04e3735"
+ ]
+ },
+ "autoDiscoveredResources": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735",
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "recommendationsConfiguration": [
+ {
+ "recommendationType": "IoT_ACRAuthentication",
+ "name": "Service Principal Not Used with ACR",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_AgentSendsUnutilizedMessages",
+ "name": "Agent sending underutilized messages",
+ "status": "TurnedOn"
+ },
+ {
+ "recommendationType": "IoT_Baseline",
+ "name": "Operating system (OS) baseline validation failure",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeHubMemOptimize",
+ "name": "Edge Hub memory can be optimized",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeLoggingOptions",
+ "name": "No Logging Configured for Edge Module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InconsistentModuleSettings",
+ "name": "Module Settings Inconsistent in SecurityGroup",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InstallAgent",
+ "name": "Install the Azure Security of Things Agent",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_DenyAll",
+ "name": "Default IP Filter Policy should be Deny",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_PermissiveRule",
+ "name": "IP Filter rule includes large IP range",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_OpenPorts",
+ "name": "Open Ports On Device",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveFirewallPolicy",
+ "name": "Permissive firewall policy in one of the chains was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveInputFirewallRules",
+ "name": "Permissive firewall rule in the input chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveOutputFirewallRules",
+ "name": "Permissive firewall rule in the output chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PrivilegedDockerOptions",
+ "name": "High level permissions configured in Edge model twin for Edge module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_SharedCredentials",
+ "name": "Same Authentication Credentials used by multiple devices",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_VulnerableTLSCipherSuite",
+ "name": "TLS cipher suite upgrade",
+ "status": "Enabled"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/DeleteIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/DeleteIoTSecuritySolution.json
new file mode 100644
index 000000000000..0c7bc0bf2944
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/DeleteIoTSecuritySolution.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "MyGroup",
+ "solutionName": "default"
+ },
+ "responses": {
+ "204": {},
+ "200": {}
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json
new file mode 100644
index 000000000000..a45c0ff3aaba
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json
@@ -0,0 +1,121 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "MyGroup",
+ "solutionName": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
+ "name": "default",
+ "type": "Microsoft.Security/IoTSecuritySolutions",
+ "location": "East Us",
+ "tags": {},
+ "properties": {
+ "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
+ "status": "Enabled",
+ "export": [],
+ "disabledDataSources": [],
+ "displayName": "Solution Default",
+ "iotHubs": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "userDefinedResources": {
+ "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"",
+ "querySubscriptions": [
+ "075423e9-7d33-4166-8bdf-3920b04e3735"
+ ]
+ },
+ "autoDiscoveredResources": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735",
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "recommendationsConfiguration": [
+ {
+ "recommendationType": "IoT_ACRAuthentication",
+ "name": "Service Principal Not Used with ACR",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_AgentSendsUnutilizedMessages",
+ "name": "Agent sending underutilized messages",
+ "status": "TurnedOn"
+ },
+ {
+ "recommendationType": "IoT_Baseline",
+ "name": "Operating system (OS) baseline validation failure",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeHubMemOptimize",
+ "name": "Edge Hub memory can be optimized",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeLoggingOptions",
+ "name": "No Logging Configured for Edge Module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InconsistentModuleSettings",
+ "name": "Module Settings Inconsistent in SecurityGroup",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InstallAgent",
+ "name": "Install the Azure Security of Things Agent",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_DenyAll",
+ "name": "Default IP Filter Policy should be Deny",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_PermissiveRule",
+ "name": "IP Filter rule includes large IP range",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_OpenPorts",
+ "name": "Open Ports On Device",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveFirewallPolicy",
+ "name": "Permissive firewall policy in one of the chains was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveInputFirewallRules",
+ "name": "Permissive firewall rule in the input chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveOutputFirewallRules",
+ "name": "Permissive firewall rule in the output chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PrivilegedDockerOptions",
+ "name": "High level permissions configured in Edge model twin for Edge module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_SharedCredentials",
+ "name": "Same Authentication Credentials used by multiple devices",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_VulnerableTLSCipherSuite",
+ "name": "TLS cipher suite upgrade",
+ "status": "Enabled"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json
new file mode 100644
index 000000000000..d9caa82fd4ad
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json
@@ -0,0 +1,234 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
+ "name": "default",
+ "location": "East Us",
+ "type": "Microsoft.Security/IoTSecuritySolutions",
+ "tags": {},
+ "properties": {
+ "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
+ "status": "Enabled",
+ "export": [],
+ "disabledDataSources": [],
+ "displayName": "Solution Default",
+ "iotHubs": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "userDefinedResources": {
+ "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"",
+ "querySubscriptions": [
+ "075423e9-7d33-4166-8bdf-3920b04e3735"
+ ]
+ },
+ "autoDiscoveredResources": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735",
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "recommendationsConfiguration": [
+ {
+ "recommendationType": "IoT_ACRAuthentication",
+ "name": "Service Principal Not Used with ACR",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_AgentSendsUnutilizedMessages",
+ "name": "Agent sending underutilized messages",
+ "status": "TurnedOn"
+ },
+ {
+ "recommendationType": "IoT_Baseline",
+ "name": "Operating system (OS) baseline validation failure",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeHubMemOptimize",
+ "name": "Edge Hub memory can be optimized",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeLoggingOptions",
+ "name": "No Logging Configured for Edge Module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InconsistentModuleSettings",
+ "name": "Module Settings Inconsistent in SecurityGroup",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InstallAgent",
+ "name": "Install the Azure Security of Things Agent",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_DenyAll",
+ "name": "Default IP Filter Policy should be Deny",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_PermissiveRule",
+ "name": "IP Filter rule includes large IP range",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_OpenPorts",
+ "name": "Open Ports On Device",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveFirewallPolicy",
+ "name": "Permissive firewall policy in one of the chains was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveInputFirewallRules",
+ "name": "Permissive firewall rule in the input chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveOutputFirewallRules",
+ "name": "Permissive firewall rule in the output chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PrivilegedDockerOptions",
+ "name": "High level permissions configured in Edge model twin for Edge module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_SharedCredentials",
+ "name": "Same Authentication Credentials used by multiple devices",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_VulnerableTLSCipherSuite",
+ "name": "TLS cipher suite upgrade",
+ "status": "Enabled"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SecondGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/sec-solution",
+ "name": "sec-solution",
+ "location": "East Us",
+ "type": "Microsoft.Security/IoTSecuritySolutions",
+ "tags": {},
+ "properties": {
+ "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
+ "status": "Enabled",
+ "export": [
+ "RawEvents"
+ ],
+ "disabledDataSources": [],
+ "displayName": "Second Solution",
+ "iotHubs": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/IotHubSecond"
+ ],
+ "userDefinedResources": {
+ "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"",
+ "querySubscriptions": [
+ "075423e9-7d33-4166-8bdf-3920b04e3735"
+ ]
+ },
+ "autoDiscoveredResources": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735",
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/IotHubSecond"
+ ],
+ "recommendationsConfiguration": [
+ {
+ "recommendationType": "IoT_ACRAuthentication",
+ "name": "Service Principal Not Used with ACR",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_AgentSendsUnutilizedMessages",
+ "name": "Agent sending underutilized messages",
+ "status": "TurnedOn"
+ },
+ {
+ "recommendationType": "IoT_Baseline",
+ "name": "Operating system (OS) baseline validation failure",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeHubMemOptimize",
+ "name": "Edge Hub memory can be optimized",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeLoggingOptions",
+ "name": "No Logging Configured for Edge Module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InconsistentModuleSettings",
+ "name": "Module Settings Inconsistent in SecurityGroup",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InstallAgent",
+ "name": "Install the Azure Security of Things Agent",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_DenyAll",
+ "name": "Default IP Filter Policy should be Deny",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_PermissiveRule",
+ "name": "IP Filter rule includes large IP range",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_OpenPorts",
+ "name": "Open Ports On Device",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveFirewallPolicy",
+ "name": "Permissive firewall policy in one of the chains was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveInputFirewallRules",
+ "name": "Permissive firewall rule in the input chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveOutputFirewallRules",
+ "name": "Permissive firewall rule in the output chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PrivilegedDockerOptions",
+ "name": "High level permissions configured in Edge model twin for Edge module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_SharedCredentials",
+ "name": "Same Authentication Credentials used by multiple devices",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_VulnerableTLSCipherSuite",
+ "name": "TLS cipher suite upgrade",
+ "status": "Enabled"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json
new file mode 100644
index 000000000000..47b84ec5cbd3
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json
@@ -0,0 +1,126 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "$filter": "properties.iotHubs/any(i eq \"/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub\")"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
+ "name": "default",
+ "type": "Microsoft.Security/IoTSecuritySolutions",
+ "location": "East Us",
+ "tags": {},
+ "properties": {
+ "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
+ "status": "Enabled",
+ "export": [
+ "RawEvents"
+ ],
+ "disabledDataSources": [],
+ "displayName": "Solution Default",
+ "iotHubs": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "userDefinedResources": {
+ "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"",
+ "querySubscriptions": [
+ "075423e9-7d33-4166-8bdf-3920b04e3735"
+ ]
+ },
+ "autoDiscoveredResources": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735",
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "recommendationsConfiguration": [
+ {
+ "recommendationType": "IoT_ACRAuthentication",
+ "name": "Service Principal Not Used with ACR",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_AgentSendsUnutilizedMessages",
+ "name": "Agent sending underutilized messages",
+ "status": "TurnedOn"
+ },
+ {
+ "recommendationType": "IoT_Baseline",
+ "name": "Operating system (OS) baseline validation failure",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeHubMemOptimize",
+ "name": "Edge Hub memory can be optimized",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeLoggingOptions",
+ "name": "No Logging Configured for Edge Module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InconsistentModuleSettings",
+ "name": "Module Settings Inconsistent in SecurityGroup",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InstallAgent",
+ "name": "Install the Azure Security of Things Agent",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_DenyAll",
+ "name": "Default IP Filter Policy should be Deny",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_PermissiveRule",
+ "name": "IP Filter rule includes large IP range",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_OpenPorts",
+ "name": "Open Ports On Device",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveFirewallPolicy",
+ "name": "Permissive firewall policy in one of the chains was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveInputFirewallRules",
+ "name": "Permissive firewall rule in the input chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveOutputFirewallRules",
+ "name": "Permissive firewall rule in the output chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PrivilegedDockerOptions",
+ "name": "High level permissions configured in Edge model twin for Edge module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_SharedCredentials",
+ "name": "Same Authentication Credentials used by multiple devices",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_VulnerableTLSCipherSuite",
+ "name": "TLS cipher suite upgrade",
+ "status": "Enabled"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json
new file mode 100644
index 000000000000..1e6565f1e1f3
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json
@@ -0,0 +1,127 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "MyRg",
+ "$filter": "properties.iotHubs/any(i eq \"/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub\")"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyRg/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
+ "name": "default",
+ "type": "Microsoft.Security/IoTSecuritySolutions",
+ "location": "East Us",
+ "tags": {},
+ "properties": {
+ "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
+ "status": "Enabled",
+ "export": [
+ "RawEvents"
+ ],
+ "disabledDataSources": [],
+ "displayName": "Solution Default",
+ "iotHubs": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "userDefinedResources": {
+ "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"",
+ "querySubscriptions": [
+ "075423e9-7d33-4166-8bdf-3920b04e3735"
+ ]
+ },
+ "autoDiscoveredResources": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735",
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "recommendationsConfiguration": [
+ {
+ "recommendationType": "IoT_ACRAuthentication",
+ "name": "Service Principal Not Used with ACR",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_AgentSendsUnutilizedMessages",
+ "name": "Agent sending underutilized messages",
+ "status": "TurnedOn"
+ },
+ {
+ "recommendationType": "IoT_Baseline",
+ "name": "Operating system (OS) baseline validation failure",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeHubMemOptimize",
+ "name": "Edge Hub memory can be optimized",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeLoggingOptions",
+ "name": "No Logging Configured for Edge Module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InconsistentModuleSettings",
+ "name": "Module Settings Inconsistent in SecurityGroup",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InstallAgent",
+ "name": "Install the Azure Security of Things Agent",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_DenyAll",
+ "name": "Default IP Filter Policy should be Deny",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_PermissiveRule",
+ "name": "IP Filter rule includes large IP range",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_OpenPorts",
+ "name": "Open Ports On Device",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveFirewallPolicy",
+ "name": "Permissive firewall policy in one of the chains was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveInputFirewallRules",
+ "name": "Permissive firewall rule in the input chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveOutputFirewallRules",
+ "name": "Permissive firewall rule in the output chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PrivilegedDockerOptions",
+ "name": "High level permissions configured in Edge model twin for Edge module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_SharedCredentials",
+ "name": "Same Authentication Credentials used by multiple devices",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_VulnerableTLSCipherSuite",
+ "name": "TLS cipher suite upgrade",
+ "status": "Enabled"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json
new file mode 100644
index 000000000000..1f1ab218ec5e
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json
@@ -0,0 +1,124 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "MyGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
+ "name": "default",
+ "location": "East Us",
+ "type": "Microsoft.Security/IoTSecuritySolutions",
+ "tags": {},
+ "properties": {
+ "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
+ "status": "Enabled",
+ "export": [],
+ "disabledDataSources": [],
+ "displayName": "Solution Default",
+ "iotHubs": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "userDefinedResources": {
+ "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"",
+ "querySubscriptions": [
+ "075423e9-7d33-4166-8bdf-3920b04e3735"
+ ]
+ },
+ "autoDiscoveredResources": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735",
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "recommendationsConfiguration": [
+ {
+ "recommendationType": "IoT_ACRAuthentication",
+ "name": "Service Principal Not Used with ACR",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_AgentSendsUnutilizedMessages",
+ "name": "Agent sending underutilized messages",
+ "status": "TurnedOn"
+ },
+ {
+ "recommendationType": "IoT_Baseline",
+ "name": "Operating system (OS) baseline validation failure",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeHubMemOptimize",
+ "name": "Edge Hub memory can be optimized",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeLoggingOptions",
+ "name": "No Logging Configured for Edge Module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InconsistentModuleSettings",
+ "name": "Module Settings Inconsistent in SecurityGroup",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InstallAgent",
+ "name": "Install the Azure Security of Things Agent",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_DenyAll",
+ "name": "Default IP Filter Policy should be Deny",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_PermissiveRule",
+ "name": "IP Filter rule includes large IP range",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_OpenPorts",
+ "name": "Open Ports On Device",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveFirewallPolicy",
+ "name": "Permissive firewall policy in one of the chains was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveInputFirewallRules",
+ "name": "Permissive firewall rule in the input chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveOutputFirewallRules",
+ "name": "Permissive firewall rule in the output chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PrivilegedDockerOptions",
+ "name": "High level permissions configured in Edge model twin for Edge module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_SharedCredentials",
+ "name": "Same Authentication Credentials used by multiple devices",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_VulnerableTLSCipherSuite",
+ "name": "TLS cipher suite upgrade",
+ "status": "Enabled"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json
new file mode 100644
index 000000000000..ba1c8a30c391
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json
@@ -0,0 +1,148 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "myRg",
+ "solutionName": "default",
+ "updateIotSecuritySolutionData": {
+ "tags": {
+ "foo": "bar"
+ },
+ "properties": {
+ "userDefinedResources": {
+ "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"v2\"",
+ "querySubscriptions": [
+ "075423e9-7d33-4166-8bdf-3920b04e3735"
+ ]
+ },
+ "recommendationsConfiguration": [
+ {
+ "recommendationType": "IoT_OpenPorts",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_SharedCredentials",
+ "status": "Disabled"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/Locations/eastus/IoTSecuritySolutions/default",
+ "name": "default",
+ "type": "Microsoft.Security/IoTSecuritySolutions",
+ "location": "East Us",
+ "tags": {
+ "foo": "bar"
+ },
+ "properties": {
+ "workspace": "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
+ "status": "Enabled",
+ "export": [
+ "RawEvents"
+ ],
+ "disabledDataSources": [],
+ "displayName": "Solution Default",
+ "iotHubs": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "userDefinedResources": {
+ "query": "where type != \"microsoft.devices/iothubs\" | where name contains \"v2\"",
+ "querySubscriptions": [
+ "075423e9-7d33-4166-8bdf-3920b04e3735"
+ ]
+ },
+ "autoDiscoveredResources": [
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735",
+ "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"
+ ],
+ "recommendationsConfiguration": [
+ {
+ "recommendationType": "IoT_ACRAuthentication",
+ "name": "Service Principal Not Used with ACR",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_AgentSendsUnutilizedMessages",
+ "name": "Agent sending underutilized messages",
+ "status": "TurnedOn"
+ },
+ {
+ "recommendationType": "IoT_Baseline",
+ "name": "Operating system (OS) baseline validation failure",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeHubMemOptimize",
+ "name": "Edge Hub memory can be optimized",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_EdgeLoggingOptions",
+ "name": "No Logging Configured for Edge Module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InconsistentModuleSettings",
+ "name": "Module Settings Inconsistent in SecurityGroup",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_InstallAgent",
+ "name": "Install the Azure Security of Things Agent",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_DenyAll",
+ "name": "Default IP Filter Policy should be Deny",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_IPFilter_PermissiveRule",
+ "name": "IP Filter rule includes large IP range",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_OpenPorts",
+ "name": "Open Ports On Device",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveFirewallPolicy",
+ "name": "Permissive firewall policy in one of the chains was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveInputFirewallRules",
+ "name": "Permissive firewall rule in the input chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PermissiveOutputFirewallRules",
+ "name": "Permissive firewall rule in the output chain was found",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_PrivilegedDockerOptions",
+ "name": "High level permissions configured in Edge model twin for Edge module",
+ "status": "Enabled"
+ },
+ {
+ "recommendationType": "IoT_SharedCredentials",
+ "name": "Same Authentication Credentials used by multiple devices",
+ "status": "Disabled"
+ },
+ {
+ "recommendationType": "IoT_VulnerableTLSCipherSuite",
+ "name": "TLS cipher suite upgrade",
+ "status": "Enabled"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json
new file mode 100644
index 000000000000..ceddc2e872b5
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "MyGroup",
+ "solutionName": "default",
+ "aggregatedAlertName": "IoT_Bruteforce_Fail/2019-02-02"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02",
+ "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02",
+ "type": "Microsoft.Security/IoTSecurityAggregatedAlert",
+ "properties": {
+ "alertType": "IoT_Bruteforce_Fail",
+ "alertDisplayName": "Failed Bruteforce",
+ "aggregatedDateUtc": "2019-02-02",
+ "vendorName": "Microsoft",
+ "reportedSeverity": "Low",
+ "remediationSteps": "",
+ "description": "Multiple unsuccsseful login attempts identified. A Bruteforce attack on the device failed.",
+ "count": 50,
+ "effectedResourceType": "IoT Device",
+ "systemSource": "Devices",
+ "actionTaken": "Detected",
+ "logAnalyticsQuery": "SecurityAlert | where tolower(ResourceId) == tolower('/subscriptions/b77ec8a9-04ed-48d2-a87a-e5887b978ba6/resourceGroups/IoT-Solution-DemoEnv/providers/Microsoft.Devices/IotHubs/rtogm-hub') and tolower(AlertName) == tolower('Custom Alert - number of device to cloud messages in MQTT protocol is not in the allowed range') | extend DeviceId=parse_json(ExtendedProperties)['DeviceId'] | project DeviceId, TimeGenerated, DisplayName, AlertSeverity, Description, RemediationSteps, ExtendedProperties"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json
new file mode 100644
index 000000000000..91c29bdf1d04
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "MyGroup",
+ "solutionName": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02",
+ "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02",
+ "type": "Microsoft.Security/IoTSecurityAggregatedAlert",
+ "properties": {
+ "alertType": "IoT_Bruteforce_Fail",
+ "alertDisplayName": "Failed Bruteforce",
+ "aggregatedDateUtc": "2019-02-02",
+ "vendorName": "Microsoft",
+ "reportedSeverity": "Low",
+ "remediationSteps": "",
+ "description": "Multiple unsuccsseful login attempts identified. A Bruteforce attack on the device failed.",
+ "count": 50,
+ "effectedResourceType": "IoT Device",
+ "systemSource": "Devices",
+ "actionTaken": "Detected",
+ "logAnalyticsQuery": "SecurityAlert | where tolower(ResourceId) == tolower('/subscriptions/b77ec8a9-04ed-48d2-a87a-e5887b978ba6/resourceGroups/IoT-Solution-DemoEnv/providers/Microsoft.Devices/IotHubs/rtogm-hub') and tolower(AlertName) == tolower('Custom Alert - number of device to cloud messages in MQTT protocol is not in the allowed range') | extend DeviceId=parse_json(ExtendedProperties)['DeviceId'] | project DeviceId, TimeGenerated, DisplayName, AlertSeverity, Description, RemediationSteps, ExtendedProperties"
+ }
+ },
+ {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Success/2019-02-02",
+ "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Success/2019-02-02",
+ "type": "Microsoft.Security/IoTSecurityAggregatedAlert",
+ "properties": {
+ "alertType": "IoT_Bruteforce_Success",
+ "alertDisplayName": "Successful Bruteforce",
+ "aggregatedDateUtc": "2019-02-02",
+ "vendorName": "Microsoft",
+ "reportedSeverity": "Low",
+ "remediationSteps": "",
+ "description": "Multiple unsuccsseful login attempts identified followed by a succssful login. A Bruteforce attack on the device was Successfule",
+ "count": 600000,
+ "effectedResourceType": "IoT Device",
+ "systemSource": "Devices",
+ "actionTaken": "Detected",
+ "logAnalyticsQuery": "SecurityAlert | where tolower(ResourceId) == tolower('/subscriptions/b77ec8a9-04ed-48d2-a87a-e5887b978ba6/resourceGroups/IoT-Solution-DemoEnv/providers/Microsoft.Devices/IotHubs/rtogm-hub') and tolower(AlertName) == tolower('Custom Alert - number of device to cloud messages in MQTT protocol is not in the allowed range') | extend DeviceId=parse_json(ExtendedProperties)['DeviceId'] | project DeviceId, TimeGenerated, DisplayName, AlertSeverity, Description, RemediationSteps, ExtendedProperties"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json
new file mode 100644
index 000000000000..a7337a494529
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "MyGroup",
+ "solutionName": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
+ "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
+ "type": "Microsoft.Security/IoTSecuritySolutionAnalyticsModel",
+ "properties": {
+ "metrics": {
+ "high": 5,
+ "medium": 200,
+ "low": 102
+ },
+ "unhealthyDeviceCount": 1200,
+ "devicesMetrics": [
+ {
+ "date": "2019-02-01T00:00:00Z",
+ "devicesMetrics": {
+ "high": 3,
+ "medium": 15,
+ "low": 70
+ }
+ },
+ {
+ "date": "2019-02-02T00:00:00Z",
+ "devicesMetrics": {
+ "high": 3,
+ "medium": 45,
+ "low": 65
+ }
+ }
+ ],
+ "topAlertedDevices": [
+ {
+ "deviceId": "id1",
+ "alertsCount": 200
+ },
+ {
+ "deviceId": "id2",
+ "alertsCount": 170
+ },
+ {
+ "deviceId": "id3",
+ "alertsCount": 150
+ }
+ ],
+ "mostPrevalentDeviceAlerts": [
+ {
+ "alertDisplayName": "Custom Alert - number of device to cloud messages in AMQP protocol is not in the allowed range",
+ "reportedSeverity": "Low",
+ "alertsCount": 200
+ },
+ {
+ "alertDisplayName": "Custom Alert - execution of a process that is not allowed",
+ "reportedSeverity": "Medium",
+ "alertsCount": 170
+ },
+ {
+ "alertDisplayName": "Successful Bruteforce",
+ "reportedSeverity": "Low",
+ "alertsCount": 150
+ }
+ ],
+ "mostPrevalentDeviceRecommendations": [
+ {
+ "recommendationDisplayName": "Install the Azure Security of Things Agent",
+ "reportedSeverity": "Low",
+ "devicesCount": 200
+ },
+ {
+ "recommendationDisplayName": "High level permissions configured in Edge model twin for Edge module",
+ "reportedSeverity": "Low",
+ "devicesCount": 170
+ },
+ {
+ "recommendationDisplayName": "Same Authentication Credentials used by multiple devices",
+ "reportedSeverity": "Medium",
+ "devicesCount": 150
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json
new file mode 100644
index 000000000000..099649b79f64
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json
@@ -0,0 +1,95 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "MyGroup",
+ "solutionName": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
+ "name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
+ "type": "Microsoft.Security/IoTSecuritySolutionAnalyticsModelList",
+ "properties": {
+ "metrics": {
+ "high": 5,
+ "medium": 200,
+ "low": 102
+ },
+ "unhealthyDeviceCount": 1200,
+ "devicesMetrics": [
+ {
+ "date": "2019-02-01T00:00:00Z",
+ "devicesMetrics": {
+ "high": 3,
+ "medium": 15,
+ "low": 70
+ }
+ },
+ {
+ "date": "2019-02-02T00:00:00Z",
+ "devicesMetrics": {
+ "high": 3,
+ "medium": 45,
+ "low": 65
+ }
+ }
+ ],
+ "topAlertedDevices": [
+ {
+ "deviceId": "id1",
+ "alertsCount": 200
+ },
+ {
+ "deviceId": "id2",
+ "alertsCount": 170
+ },
+ {
+ "deviceId": "id3",
+ "alertsCount": 150
+ }
+ ],
+ "mostPrevalentDeviceAlerts": [
+ {
+ "alertDisplayName": "Custom Alert - number of device to cloud messages in AMQP protocol is not in the allowed range",
+ "reportedSeverity": "Low",
+ "devicesCount": 200
+ },
+ {
+ "alertDisplayName": "Custom Alert - execution of a process that is not allowed",
+ "reportedSeverity": "Medium",
+ "devicesCount": 170
+ },
+ {
+ "alertDisplayName": "Successful Bruteforce",
+ "reportedSeverity": "Low",
+ "devicesCount": 150
+ }
+ ],
+ "mostPrevalentDeviceRecommendations": [
+ {
+ "recommendationDisplayName": "Install the Azure Security of Things Agent",
+ "reportedSeverity": "Low",
+ "devicesCount": 200
+ },
+ {
+ "recommendationDisplayName": "High level permissions configured in Edge model twin for Edge module",
+ "reportedSeverity": "Low",
+ "devicesCount": 170
+ },
+ {
+ "recommendationDisplayName": "Same Authentication Credentials used by multiple devices",
+ "reportedSeverity": "Medium",
+ "devicesCount": 150
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json
new file mode 100644
index 000000000000..51b44a0c90c2
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "075423e9-7d33-4166-8bdf-3920b04e3735",
+ "resourceGroupName": "IoTEdgeResources",
+ "solutionName": "default",
+ "aggregatedRecommendationName": "OpenPortsOnDevice"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice",
+ "name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice",
+ "type": "Microsoft.Security/IoTSecurityAggregatedRecommendation",
+ "properties": {
+ "recommendationName": "OpenPortsOnDevice",
+ "recommendationDisplayName": "Permissive firewall policy in one of the chains was found",
+ "description": "An allowed firewall policy was found in main firewall Chains (INPUT/OUTPUT). The policy should Deny all traffic by default define rules to allow necessary communication to/from the device",
+ "recommendationTypeId": "{20ff7fc3-e762-44dd-bd96-b71116dcdc23}",
+ "detectedBy": "Microsoft",
+ "reportedSeverity": "Low",
+ "remediationSteps": "",
+ "healthyDevices": 10000,
+ "unhealthyDeviceCount": 200,
+ "logAnalyticsQuery": "SecurityRecommendation | where tolower(AssessedResourceId) == tolower('/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Devices/IotHubs/t-ofdadu-hub') and tolower(RecommendationName) == tolower('OpenPortsOnDevice')"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json
new file mode 100644
index 000000000000..3a331b30297d
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "075423e9-7d33-4166-8bdf-3920b04e3735",
+ "resourceGroupName": "IoTEdgeResources",
+ "solutionName": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice",
+ "name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice",
+ "type": "Microsoft.Security/IoTSecurityAggregatedRecommendation",
+ "properties": {
+ "recommendationName": "OpenPortsOnDevice",
+ "recommendationDisplayName": "Permissive firewall policy in one of the chains was found",
+ "description": "An allowed firewall policy was found in main firewall Chains (INPUT/OUTPUT). The policy should Deny all traffic by default define rules to allow necessary communication to/from the device",
+ "recommendationTypeId": "{20ff7fc3-e762-44dd-bd96-b71116dcdc23}",
+ "detectedBy": "Microsoft",
+ "reportedSeverity": "Low",
+ "remediationSteps": "",
+ "healthyDevices": 10000,
+ "unhealthyDeviceCount": 200,
+ "logAnalyticsQuery": "SecurityRecommendation | where tolower(AssessedResourceId) == tolower('/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Devices/IotHubs/t-ofdadu-hub') and tolower(RecommendationName) == tolower('OpenPortsOnDevice')"
+ }
+ },
+ {
+ "id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/TooLargeIPRange",
+ "name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_InstallAgent",
+ "type": "Microsoft.Security/IoTSecurityAggregatedRecommendation",
+ "properties": {
+ "recommendationName": "TooLargeIPRange",
+ "recommendationDisplayName": "Permissive firewall policy in one of the chains was found",
+ "description": "An allow IP filter rule source IP range is too large. Overly permissive rules can expose your IoT hub to malicious actors.",
+ "recommendationTypeId": "{20ff7fc3-e762-44dd-bd96-b71116dcdc23}",
+ "detectedBy": "Microsoft",
+ "reportedSeverity": "High",
+ "remediationSteps": "",
+ "healthyDevices": 130000,
+ "unhealthyDeviceCount": 1,
+ "logAnalyticsQuery": "SecurityRecommendation | where tolower(AssessedResourceId) == tolower('/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Devices/IotHubs/t-ofdadu-hub') and tolower(RecommendationName) == tolower('TooLargeIPRange')"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json
new file mode 100644
index 000000000000..0d2c25cde954
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "IoTEdgeResources",
+ "solutionName": "default",
+ "aggregatedAlertName": "IoT_Bruteforce_Fail/2019-02-02/dismiss"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
new file mode 100644
index 000000000000..a75f7f1ee3a4
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
@@ -0,0 +1,906 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Security Center",
+ "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
+ "version": "2019-08-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.Security/iotSecuritySolutions/{solutionName}/analyticsModels": {
+ "get": {
+ "x-ms-examples": {
+ "Get Security Solutions Analytics": {
+ "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalyticsList.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions Analytics"
+ ],
+ "description": "Security Analytics of a security solution",
+ "operationId": "IoTSecuritySolutionsAnalytics_GetAll",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SolutionName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModelList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default": {
+ "get": {
+ "x-ms-examples": {
+ "Get Security Solutions Analytics": {
+ "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions Analytics"
+ ],
+ "description": "Security Analytics of a security solution",
+ "operationId": "IoTSecuritySolutionsAnalytics_GetDefault",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SolutionName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModel"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts": {
+ "get": {
+ "x-ms-examples": {
+ "Get Security Solutions Analytics": {
+ "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions Analytics"
+ ],
+ "description": "Security Analytics of a security solution",
+ "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlerts_List",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SolutionName"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The number of results to retrieve.",
+ "required": false,
+ "type": "integer"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IoTSecurityAggregatedAlertList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}": {
+ "get": {
+ "x-ms-examples": {
+ "Get Security Solutions Analytics": {
+ "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions Analytics"
+ ],
+ "description": "Security Analytics of a security solution",
+ "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlert_Get",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SolutionName"
+ },
+ {
+ "$ref": "#/parameters/AggregatedAlertName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IoTSecurityAggregatedAlert"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}/dismiss": {
+ "post": {
+ "x-ms-examples": {
+ "Get Security Solutions Analytics": {
+ "$ref": "./examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions Analytics"
+ ],
+ "description": "Security Analytics of a security solution",
+ "operationId": "IoTSecuritySolutionsAnalyticsAggregatedAlert_Dismiss",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SolutionName"
+ },
+ {
+ "$ref": "#/parameters/AggregatedAlertName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Dismissed"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations/{aggregatedRecommendationName}": {
+ "get": {
+ "x-ms-examples": {
+ "Get Security Solutions Analytics": {
+ "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions Analytics"
+ ],
+ "description": "Security Analytics of a security solution",
+ "operationId": "IoTSecuritySolutionsAnalyticsRecommendation_Get",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SolutionName"
+ },
+ {
+ "$ref": "#/parameters/AggregatedRecommendationName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IoTSecurityAggregatedRecommendation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations": {
+ "get": {
+ "x-ms-examples": {
+ "Get Security Solutions Analytics": {
+ "$ref": "./examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions Analytics"
+ ],
+ "description": "Security Analytics of a security solution",
+ "operationId": "IoTSecuritySolutionsAnalyticsRecommendations_List",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SolutionName"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The number of results to retrieve.",
+ "required": false,
+ "type": "integer"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IoTSecurityAggregatedRecommendationList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "IoTSeverityMetrics": {
+ "type": "object",
+ "description": "Severity metrics",
+ "properties": {
+ "high": {
+ "type": "integer",
+ "description": "count of high severity items"
+ },
+ "medium": {
+ "type": "integer",
+ "description": "count of medium severity items"
+ },
+ "low": {
+ "type": "integer",
+ "description": "count of low severity items"
+ }
+ }
+ },
+ "IoTSecuritySolutionAnalyticsModel": {
+ "type": "object",
+ "description": "Security Analytics of a security solution",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Security Solution Aggregated Alert data",
+ "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModelProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../common/v1/types.json#/definitions/Resource"
+ }
+ ]
+ },
+ "IoTSecuritySolutionAnalyticsModelProperties": {
+ "description": "Security Analytics of a security solution properties",
+ "properties": {
+ "metrics": {
+ "type": "object",
+ "$ref": "#/definitions/IoTSeverityMetrics",
+ "description": "Security Analytics of a security solution",
+ "readOnly": true
+ },
+ "unhealthyDeviceCount": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "number of unhealthy devices"
+ },
+ "devicesMetrics": {
+ "description": "The list of devices metrics by the aggregated date.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "properties": {
+ "date": {
+ "type": "string",
+ "format": "date-time",
+ "description": "the date of the metrics"
+ },
+ "devicesMetrics": {
+ "type": "object",
+ "$ref": "#/definitions/IoTSeverityMetrics",
+ "description": "devices alerts count by severity."
+ }
+ }
+ }
+ },
+ "topAlertedDevices": {
+ "description": "The list of top 3 devices with the most attacked.",
+ "type": "object",
+ "$ref": "#/definitions/IoTSecurityAlertedDevicesList"
+ },
+ "mostPrevalentDeviceAlerts": {
+ "description": "The list of most prevalent 3 alerts.",
+ "type": "object",
+ "$ref": "#/definitions/IoTSecurityDeviceAlertsList"
+ },
+ "mostPrevalentDeviceRecommendations": {
+ "description": "The list of most prevalent 3 recommendations.",
+ "type": "object",
+ "$ref": "#/definitions/IoTSecurityDeviceRecommendationsList"
+ }
+ }
+ },
+ "IoTSecuritySolutionAnalyticsModelList": {
+ "description": "List of Security Analytics of a security solution",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of Security Analytics of a security solution",
+ "items": {
+ "$ref": "#/definitions/IoTSecuritySolutionAnalyticsModel"
+ }
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page."
+ }
+ }
+ },
+ "IoTSecurityAggregatedAlertList": {
+ "description": "List of IoT aggregated security alerts",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of aggregated alerts data",
+ "items": {
+ "$ref": "#/definitions/IoTSecurityAggregatedAlert"
+ }
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page."
+ }
+ }
+ },
+ "IoTSecurityAggregatedRecommendationList": {
+ "description": "List of IoT aggregated security recommendations",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of aggregated alerts data",
+ "items": {
+ "$ref": "#/definitions/IoTSecurityAggregatedRecommendation"
+ }
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page."
+ }
+ }
+ },
+ "IoTSecurityAlertedDevicesList": {
+ "description": "List of devices with the count of raised alerts",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of aggregated alerts data",
+ "items": {
+ "$ref": "#/definitions/IoTSecurityAlertedDevice"
+ }
+ }
+ }
+ },
+ "IoTSecurityDeviceAlertsList": {
+ "description": "List of alerts with the count of raised alerts",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of top alerts data",
+ "items": {
+ "$ref": "#/definitions/IoTSecurityDeviceAlert"
+ }
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page."
+ }
+ }
+ },
+ "IoTSecurityDeviceRecommendationsList": {
+ "description": "List of recommendations with the count of devices",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of aggregated recommendation data",
+ "items": {
+ "$ref": "#/definitions/IoTSecurityDeviceRecommendation"
+ }
+ }
+ }
+ },
+ "IoTSecurityAggregatedAlert": {
+ "type": "object",
+ "description": "Security Solution Aggregated Alert information",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Security Solution Aggregated Alert data",
+ "$ref": "#/definitions/IoTSecurityAggregatedAlertProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../common/v1/types.json#/definitions/Resource"
+ },
+ {
+ "$ref": "#/definitions/TagsResource"
+ }
+ ]
+ },
+ "IoTSecurityAggregatedAlertProperties": {
+ "type": "object",
+ "description": "Security Solution Aggregated Alert data",
+ "properties": {
+ "alertType": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the alert type"
+ },
+ "alertDisplayName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Display name of the alert type"
+ },
+ "aggregatedDateUtc": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date",
+ "description": "The date the incidents were detected by the vendor"
+ },
+ "vendorName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the vendor that discovered the incident"
+ },
+ "reportedSeverity": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Informational",
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "reportedSeverity",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Informational"
+ },
+ {
+ "value": "Low"
+ },
+ {
+ "value": "Medium"
+ },
+ {
+ "value": "High"
+ }
+ ]
+ },
+ "description": "Estimated severity of this alert"
+ },
+ "remediationSteps": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Recommended steps for remediation"
+ },
+ "description": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Description of the incident and what it means"
+ },
+ "count": {
+ "readOnly": true,
+ "type": "integer",
+ "description": "Occurrence number of the alert within the aggregated date"
+ },
+ "effectedResourceType": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Azure resource ID of the resource that got the alerts"
+ },
+ "systemSource": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of the alerted resource (Azure, Non-Azure)"
+ },
+ "actionTaken": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The action that was taken as a response to the alert (Active, Blocked etc.)"
+ },
+ "logAnalyticsQuery": {
+ "readOnly": true,
+ "type": "string",
+ "description": "query in log analytics to get the list of affected devices/alerts"
+ }
+ }
+ },
+ "IoTSecurityAggregatedRecommendation": {
+ "type": "object",
+ "description": "Security Solution Recommendation Information",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Security Solution data",
+ "$ref": "#/definitions/IoTSecurityAggregatedRecommendationProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../common/v1/types.json#/definitions/Resource"
+ },
+ {
+ "$ref": "#/definitions/TagsResource"
+ }
+ ]
+ },
+ "IoTSecurityAggregatedRecommendationProperties": {
+ "type": "object",
+ "description": "Security Solution Recommendation Information",
+ "properties": {
+ "recommendationName": {
+ "type": "string",
+ "description": "Name of the recommendation"
+ },
+ "recommendationDisplayName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Display name of the recommendation type."
+ },
+ "description": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Description of the incident and what it means"
+ },
+ "recommendationTypeId": {
+ "description": "The recommendation-type GUID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "detectedBy": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the vendor that discovered the issue"
+ },
+ "remediationSteps": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Recommended steps for remediation"
+ },
+ "reportedSeverity": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Informational",
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "reportedSeverity",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Informational"
+ },
+ {
+ "value": "Low"
+ },
+ {
+ "value": "Medium"
+ },
+ {
+ "value": "High"
+ }
+ ]
+ },
+ "description": "Estimated severity of this recommendation"
+ },
+ "healthyDevices": {
+ "readOnly": true,
+ "type": "integer",
+ "description": "the number of the healthy devices within the solution"
+ },
+ "unhealthyDeviceCount": {
+ "readOnly": true,
+ "type": "integer",
+ "description": "the number of the unhealthy devices within the solution"
+ },
+ "logAnalyticsQuery": {
+ "readOnly": true,
+ "type": "string",
+ "description": "query in log analytics to get the list of affected devices/alerts"
+ }
+ }
+ },
+ "IoTSecurityAlertedDevice": {
+ "type": "object",
+ "description": "Statistic information about the number of alerts per device during the last period",
+ "properties": {
+ "deviceId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the alert type"
+ },
+ "alertsCount": {
+ "readOnly": true,
+ "type": "integer",
+ "description": "the number of alerts raised for this device"
+ }
+ }
+ },
+ "IoTSecurityDeviceAlert": {
+ "type": "object",
+ "description": "Statistic information about the number of alerts per alert type during the last period",
+ "properties": {
+ "alertDisplayName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Display name of the alert"
+ },
+ "reportedSeverity": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Informational",
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "reportedSeverity",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Informational"
+ },
+ {
+ "value": "Low"
+ },
+ {
+ "value": "Medium"
+ },
+ {
+ "value": "High"
+ }
+ ]
+ },
+ "description": "Estimated severity of this alert"
+ },
+ "alertsCount": {
+ "readOnly": true,
+ "type": "integer",
+ "description": "the number of alerts raised for this alert type"
+ }
+ }
+ },
+ "IoTSecurityDeviceRecommendation": {
+ "type": "object",
+ "description": "Statistic information about the number of recommendations per recommendation type",
+ "properties": {
+ "recommendationDisplayName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Display name of the recommendation"
+ },
+ "reportedSeverity": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Informational",
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "reportedSeverity",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Informational"
+ },
+ {
+ "value": "Low"
+ },
+ {
+ "value": "Medium"
+ },
+ {
+ "value": "High"
+ }
+ ]
+ },
+ "description": "Estimated severity of this recommendation"
+ },
+ "devicesCount": {
+ "readOnly": true,
+ "type": "integer",
+ "description": "the number of device with this recommendation"
+ }
+ }
+ },
+ "TagsResource": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "description": "A container holding only the Tags for a resource, allowing the user to update the tags."
+ }
+ },
+ "parameters": {
+ "SolutionName": {
+ "name": "solutionName",
+ "in": "path",
+ "required": true,
+ "description": "The solution manager name",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "AggregatedAlertName": {
+ "name": "aggregatedAlertName",
+ "in": "path",
+ "required": true,
+ "description": "Identifier of the aggregated alert",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "AggregatedRecommendationName": {
+ "name": "aggregatedRecommendationName",
+ "in": "path",
+ "required": true,
+ "description": "Identifier of the aggregated recommendation",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
new file mode 100644
index 000000000000..b900a72474fc
--- /dev/null
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
@@ -0,0 +1,659 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Security Center",
+ "description": "API spec for Microsoft.Security (Azure Security Center) resource provider",
+ "version": "2019-08-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.Security/iotSecuritySolutions": {
+ "get": {
+ "x-ms-examples": {
+ "Get Security Solutions list": {
+ "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json"
+ },
+ "Get Security Solutions list By IotHub": {
+ "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions"
+ ],
+ "description": "List of security solutions",
+ "operationId": "IoTSecuritySolutions_List",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/FilterParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IoTSecuritySolutionsList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions": {
+ "get": {
+ "x-ms-examples": {
+ "Get Security Solutions list": {
+ "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json"
+ },
+ "Get Security Solutions list By IotHub": {
+ "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions"
+ ],
+ "description": "List of security solutions",
+ "operationId": "IoTSecuritySolutionsResourceGroup_List",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/FilterParam"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IoTSecuritySolutionsList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}": {
+ "get": {
+ "x-ms-examples": {
+ "Get an iot security solution": {
+ "$ref": "./examples/IoTSecuritySolutions/GetIoTSecuritySolution.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions"
+ ],
+ "description": "Details of a specific iot security solution",
+ "operationId": "IotSecuritySolution_Get",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SolutionName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IoTSecuritySolutionModel"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "x-ms-examples": {
+ "Create an iot security solution": {
+ "$ref": "./examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions"
+ ],
+ "description": "Create new solution manager",
+ "operationId": "IotSecuritySolution_Create",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SolutionName"
+ },
+ {
+ "$ref": "#/parameters/IotSecuritySolutionData"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated",
+ "schema": {
+ "$ref": "#/definitions/IoTSecuritySolutionModel"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/IoTSecuritySolutionModel"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "x-ms-examples": {
+ "Update an iot security solution": {
+ "$ref": "./examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions"
+ ],
+ "description": "update existing Security Solution tags or user defined resources. To update other fields use the CreateOrUpdate method",
+ "operationId": "IotSecuritySolution_Update",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SolutionName"
+ },
+ {
+ "$ref": "#/parameters/UpdateIotSecuritySolution"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated",
+ "schema": {
+ "$ref": "#/definitions/IoTSecuritySolutionModel"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "x-ms-examples": {
+ "Create an iot security solution": {
+ "$ref": "./examples/IoTSecuritySolutions/DeleteIoTSecuritySolution.json"
+ }
+ },
+ "tags": [
+ "IoT Security Solutions"
+ ],
+ "description": "Create new solution manager",
+ "operationId": "IotSecuritySolution_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SolutionName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Security Solution deleted"
+ },
+ "204": {
+ "description": "Security Solution was not exists"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../common/v1/types.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "TagsResource": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "description": "A container holding only the Tags for a resource, allowing the user to update the tags."
+ },
+ "IoTSecuritySolutionsList": {
+ "description": "List of iot solutions",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of security solutions",
+ "items": {
+ "$ref": "#/definitions/IoTSecuritySolutionModel"
+ }
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page."
+ }
+ }
+ },
+ "IoTSecuritySolutionModel": {
+ "type": "object",
+ "description": "Security Solution",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "The resource location."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Security Solution data",
+ "$ref": "#/definitions/IoTSecuritySolutionProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../common/v1/types.json#/definitions/Resource"
+ },
+ {
+ "$ref": "#/definitions/TagsResource"
+ }
+ ]
+ },
+ "IoTSecuritySolutionProperties": {
+ "type": "object",
+ "description": "Security Solution setting data",
+ "properties": {
+ "workspace": {
+ "type": "string",
+ "description": "Workspace resource ID"
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Resource display name."
+ },
+ "status": {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "default": "Enabled",
+ "description": "Security solution status",
+ "x-ms-enum": {
+ "name": "SecuritySolutionStatus",
+ "modelAsString": true
+ }
+ },
+ "export": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "RawEvents"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ExportData",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "RawEvents",
+ "description": "Agent raw events"
+ }
+ ]
+ }
+ },
+ "description": "List of additional export to workspace data options"
+ },
+ "disabledDataSources": {
+ "type": "array",
+ "items": {
+ "enum": [
+ "TwinData"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DataSource",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "TwinData",
+ "description": "Devices twin data"
+ }
+ ]
+ }
+ },
+ "description": "Disabled data sources. Disabling these data sources compromises the system."
+ },
+ "iotHubs": {
+ "type": "array",
+ "description": "IoT Hub resource IDs",
+ "items": {
+ "type": "string"
+ }
+ },
+ "userDefinedResources": {
+ "$ref": "#/definitions/UserDefinedResourcesProperties"
+ },
+ "autoDiscoveredResources": {
+ "type": "array",
+ "description": "List of resources that were automatically discovered as relevant to the security solution.",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "recommendationsConfiguration": {
+ "$ref": "#/definitions/RecommendationConfigurationList"
+ }
+ },
+ "required": [
+ "iotHubs",
+ "workspace",
+ "displayName"
+ ]
+ },
+ "UserDefinedResourcesProperties": {
+ "type": "object",
+ "description": "Properties of the solution's user defined resources.",
+ "properties": {
+ "query": {
+ "type": "string",
+ "x-nullable": true,
+ "description": "Azure Resource Graph query which represents the security solution's user defined resources. Required to start with \"where type != \"Microsoft.Devices/IotHubs\"\""
+ },
+ "querySubscriptions": {
+ "type": "array",
+ "x-nullable": true,
+ "description": "List of Azure subscription ids on which the user defined resources query should be executed.",
+ "items": {
+ "type": "string",
+ "pattern": "^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$"
+ }
+ }
+ },
+ "required": [
+ "query",
+ "querySubscriptions"
+ ]
+ },
+ "RecommendationConfigurationProperties": {
+ "type": "object",
+ "description": "Recommendation configuration",
+ "properties": {
+ "recommendationType": {
+ "type": "string",
+ "description": "The recommendation type.",
+ "enum": [
+ "IoT_ACRAuthentication",
+ "IoT_AgentSendsUnutilizedMessages",
+ "IoT_Baseline",
+ "IoT_EdgeHubMemOptimize",
+ "IoT_EdgeLoggingOptions",
+ "IoT_InconsistentModuleSettings",
+ "IoT_InstallAgent",
+ "IoT_IPFilter_DenyAll",
+ "IoT_IPFilter_PermissiveRule",
+ "IoT_OpenPorts",
+ "IoT_PermissiveFirewallPolicy",
+ "IoT_PermissiveInputFirewallRules",
+ "IoT_PermissiveOutputFirewallRules",
+ "IoT_PrivilegedDockerOptions",
+ "IoT_SharedCredentials",
+ "IoT_VulnerableTLSCipherSuite"
+ ],
+ "x-ms-enum": {
+ "name": "RecommendationType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "IoT_ACRAuthentication",
+ "description": "Authentication schema used for pull an edge module from an ACR repository does not use Service Principal Authentication."
+ },
+ {
+ "value": "IoT_AgentSendsUnutilizedMessages",
+ "description": "IoT agent message size capacity is currently underutilized, causing an increase in the number of sent messages. Adjust message intervals for better utilization."
+ },
+ {
+ "value": "IoT_Baseline",
+ "description": "Identified security related system configuration issues."
+ },
+ {
+ "value": "IoT_EdgeHubMemOptimize",
+ "description": "You can optimize Edge Hub memory usage by turning off protocol heads for any protocols not used by Edge modules in your solution."
+ },
+ {
+ "value": "IoT_EdgeLoggingOptions",
+ "description": "Logging is disabled for this edge module."
+ },
+ {
+ "value": "IoT_InconsistentModuleSettings",
+ "description": "A minority within a device security group has inconsistent Edge Module settings with the rest of their group."
+ },
+ {
+ "value": "IoT_InstallAgent",
+ "description": "Install the Azure Security of Things Agent."
+ },
+ {
+ "value": "IoT_IPFilter_DenyAll",
+ "description": "IP Filter Configuration should have rules defined for allowed traffic and should deny all other traffic by default."
+ },
+ {
+ "value": "IoT_IPFilter_PermissiveRule",
+ "description": "An Allow IP Filter rules source IP range is too large. Overly permissive rules might expose your IoT hub to malicious intenders."
+ },
+ {
+ "value": "IoT_OpenPorts",
+ "description": "A listening endpoint was found on the device."
+ },
+ {
+ "value": "IoT_PermissiveFirewallPolicy",
+ "description": "An Allowed firewall policy was found (INPUT/OUTPUT). The policy should Deny all traffic by default and define rules to allow necessary communication to/from the device."
+ },
+ {
+ "value": "IoT_PermissiveInputFirewallRules",
+ "description": "A rule in the firewall has been found that contains a permissive pattern for a wide range of IP addresses or Ports."
+ },
+ {
+ "value": "IoT_PermissiveOutputFirewallRules",
+ "description": "A rule in the firewall has been found that contains a permissive pattern for a wide range of IP addresses or Ports."
+ },
+ {
+ "value": "IoT_PrivilegedDockerOptions",
+ "description": "Edge module is configured to run in privileged mode, with extensive Linux capabilities or with host-level network access (send/receive data to host machine)."
+ },
+ {
+ "value": "IoT_SharedCredentials",
+ "description": "Same authentication credentials to the IoT Hub used by multiple devices. This could indicate an illegitimate device impersonating a legitimate device. It also exposes the risk of device impersonation by an attacker."
+ },
+ {
+ "value": "IoT_VulnerableTLSCipherSuite",
+ "description": "Insecure TLS configurations detected. Immediate upgrade recommended."
+ }
+ ]
+ }
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "default": "Enabled",
+ "description": "Recommendation status. The recommendation is not generated when the status is disabled",
+ "x-ms-enum": {
+ "name": "RecommendationConfigStatus",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "recommendationType",
+ "status"
+ ]
+ },
+ "RecommendationConfigurationList": {
+ "type": "array",
+ "description": "List of recommendation configuration",
+ "items": {
+ "$ref": "#/definitions/RecommendationConfigurationProperties"
+ }
+ },
+ "UpdateIotSecuritySolutionData": {
+ "type": "object",
+ "properties": {
+ "userDefinedResources": {
+ "$ref": "#/definitions/UserDefinedResourcesProperties"
+ },
+ "recommendationsConfiguration": {
+ "$ref": "#/definitions/RecommendationConfigurationList"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/TagsResource"
+ }
+ ]
+ }
+ },
+ "parameters": {
+ "SolutionName": {
+ "name": "solutionName",
+ "in": "path",
+ "required": true,
+ "description": "The solution manager name",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "IotSecuritySolutionData": {
+ "name": "iotSecuritySolutionData",
+ "in": "body",
+ "required": true,
+ "description": "The security solution data",
+ "schema": {
+ "$ref": "#/definitions/IoTSecuritySolutionModel"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "FilterParam": {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "description": "filter the Security Solution with OData syntax. supporting filter by iotHubs",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "UpdateIotSecuritySolution": {
+ "name": "updateIotSecuritySolutionData",
+ "in": "body",
+ "required": true,
+ "description": "The security solution data",
+ "x-ms-parameter-location": "method",
+ "schema": {
+ "$ref": "#/definitions/UpdateIotSecuritySolutionData"
+ }
+ }
+ }
+}
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index d7a2879d54a9..511a7d9162f4 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -94,6 +94,8 @@ input-file:
- Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json
- Microsoft.Security/preview/2017-08-01-preview/settings.json
- Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
+- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
+- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
- Microsoft.Security/preview/2015-06-01-preview/operations.json
- Microsoft.Security/preview/2015-06-01-preview/locations.json
- Microsoft.Security/preview/2015-06-01-preview/tasks.json
@@ -121,6 +123,8 @@ input-file:
- Microsoft.Security/stable/2018-06-01/pricings.json
- Microsoft.Security/stable/2019-01-01/alerts.json
- Microsoft.Security/stable/2019-01-01/settings.json
+- Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
+- Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json
- Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
- Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
- Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
@@ -136,8 +140,6 @@ input-file:
- Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
- Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
- Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
-- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json
-- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json
- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json
- Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json
index 79f98bc11fcc..03a073788341 100644
--- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json
@@ -1131,11 +1131,47 @@
"Get an account entity.": {
"$ref": "./examples/entities/GetAccountEntityById.json"
},
- "Get an host entity.": {
+ "Get a host entity.": {
"$ref": "./examples/entities/GetHostEntityById.json"
},
- "Get an file entity.": {
+ "Get a file entity.": {
"$ref": "./examples/entities/GetFileEntityById.json"
+ },
+ "Get a security alert entity.": {
+ "$ref": "./examples/entities/GetSecurityAlertEntityById.json"
+ },
+ "Get a file hash entity.": {
+ "$ref": "./examples/entities/GetFileHashEntityById.json"
+ },
+ "Get a malware entity.": {
+ "$ref": "./examples/entities/GetMalwareEntityById.json"
+ },
+ "Get a security group entity.": {
+ "$ref": "./examples/entities/GetSecurityGroupEntityById.json"
+ },
+ "Get an azure resource entity.": {
+ "$ref": "./examples/entities/GetAzureResourceEntityById.json"
+ },
+ "Get a cloud application entity.": {
+ "$ref": "./examples/entities/GetCloudApplicationEntityById.json"
+ },
+ "Get a process entity.": {
+ "$ref": "./examples/entities/GetProcessEntityById.json"
+ },
+ "Get a dns entity.": {
+ "$ref": "./examples/entities/GetDnsEntityById.json"
+ },
+ "Get an ip entity.": {
+ "$ref": "./examples/entities/GetIpEntityById.json"
+ },
+ "Get a registry key entity.": {
+ "$ref": "./examples/entities/GetRegistryKeyEntityById.json"
+ },
+ "Get a registry value entity.": {
+ "$ref": "./examples/entities/GetRegistryValueEntityById.json"
+ },
+ "Get a url entity.": {
+ "$ref": "./examples/entities/GetUrlEntityById.json"
}
},
"tags": [
@@ -1179,6 +1215,57 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/expand": {
+ "post": {
+ "x-ms-examples": {
+ "Expand an entity": {
+ "$ref": "./examples/entities/expand/PostExpandEntity.json"
+ }
+ },
+ "tags": [
+ "Entities"
+ ],
+ "description": "Expands an entity.",
+ "operationId": "Entities_Expand",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/OperationalInsightsResourceProvider"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceName"
+ },
+ {
+ "$ref": "#/parameters/EntityId"
+ },
+ {
+ "$ref": "#/parameters/EntityExpandRequestBody"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EntityExpandResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents": {
"get": {
"x-ms-examples": {
@@ -1737,35 +1824,7 @@
"description": "The description of the alert rule."
},
"severity": {
- "type": "string",
- "enum": [
- "High",
- "Medium",
- "Low",
- "Informational"
- ],
- "x-ms-enum": {
- "name": "AlertSeverity",
- "modelAsString": false,
- "values": [
- {
- "value": "High",
- "description": "High severity"
- },
- {
- "value": "Medium",
- "description": "Medium severity"
- },
- {
- "value": "Low",
- "description": "Low severity"
- },
- {
- "value": "Informational",
- "description": "Informational severity"
- }
- ]
- },
+ "$ref": "#/definitions/AlertSeverity",
"description": "The severity for alerts created by this alert rule."
},
"enabled": {
@@ -1833,6 +1892,38 @@
"suppressionDuration"
]
},
+ "AlertSeverity": {
+ "type": "string",
+ "description": "The severity of the alert",
+ "enum": [
+ "High",
+ "Medium",
+ "Low",
+ "Informational"
+ ],
+ "x-ms-enum": {
+ "name": "AlertSeverity",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "High",
+ "description": "High severity"
+ },
+ {
+ "value": "Medium",
+ "description": "Medium severity"
+ },
+ {
+ "value": "Low",
+ "description": "Low severity"
+ },
+ {
+ "value": "Informational",
+ "description": "Informational severity"
+ }
+ ]
+ }
+ },
"ActionsList": {
"description": "List all the actions.",
"properties": {
@@ -2679,34 +2770,122 @@
},
"EntityKind": {
"type": "object",
- "description": "Describes an Azure resource with kind.",
+ "description": "Describes an entity with kind.",
"properties": {
"kind": {
- "type": "string",
- "description": "The kind of the entity",
- "enum": [
- "Account",
- "Host",
- "File"
- ],
- "x-ms-enum": {
- "name": "EntityKind",
- "modelAsString": true,
- "values": [
- {
- "value": "Account",
- "description": "Entity represents account in the system."
- },
- {
- "value": "Host",
- "description": "Entity represents host in the system."
- },
- {
- "value": "File",
- "description": "Entity represents file in the system."
- }
- ]
+ "description": "The kind of the entity.",
+ "$ref": "#/definitions/EntityInnerKind"
+ }
+ }
+ },
+ "EntityInnerKind": {
+ "type": "string",
+ "description": "The kind of the entity",
+ "enum": [
+ "Account",
+ "Host",
+ "File",
+ "AzureResource",
+ "CloudApplication",
+ "DnsResolution",
+ "FileHash",
+ "Ip",
+ "Malware",
+ "Process",
+ "RegistryKey",
+ "RegistryValue",
+ "SecurityGroup",
+ "Url",
+ "SecurityAlert",
+ "Bookmark"
+ ],
+ "x-ms-enum": {
+ "name": "EntityKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Account",
+ "description": "Entity represents account in the system."
+ },
+ {
+ "value": "Host",
+ "description": "Entity represents host in the system."
+ },
+ {
+ "value": "File",
+ "description": "Entity represents file in the system."
+ },
+ {
+ "value": "AzureResource",
+ "description": "Entity represents azure resource in the system."
+ },
+ {
+ "value": "CloudApplication",
+ "description": "Entity represents cloud application in the system."
+ },
+ {
+ "value": "DnsResolution",
+ "description": "Entity represents dns resolution in the system."
+ },
+ {
+ "value": "FileHash",
+ "description": "Entity represents file hash in the system."
+ },
+ {
+ "value": "Ip",
+ "description": "Entity represents ip in the system."
+ },
+ {
+ "value": "Malware",
+ "description": "Entity represents malware in the system."
+ },
+ {
+ "value": "Process",
+ "description": "Entity represents process in the system."
+ },
+ {
+ "value": "RegistryKey",
+ "description": "Entity represents registry key in the system."
+ },
+ {
+ "value": "RegistryValue",
+ "description": "Entity represents registry value in the system."
+ },
+ {
+ "value": "SecurityGroup",
+ "description": "Entity represents security group in the system."
+ },
+ {
+ "value": "Url",
+ "description": "Entity represents url in the system."
+ },
+ {
+ "value": "SecurityAlert",
+ "description": "Entity represents security alert in the system."
+ },
+ {
+ "value": "Bookmark",
+ "description": "Entity represents bookmark in the system."
}
+ ]
+ }
+ },
+ "EntityCommonProperties": {
+ "type": "object",
+ "description": "Entity common property bag.",
+ "properties": {
+ "friendlyName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated."
+ },
+ "additionalData": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ },
+ "readOnly": true,
+ "description": "A bag of custom fields that should be part of the entity and will be presented to the user."
}
}
},
@@ -2730,6 +2909,11 @@
"AccountEntityProperties": {
"type": "object",
"description": "Account entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
"properties": {
"accountName": {
"type": "string",
@@ -2771,11 +2955,21 @@
"readOnly": true,
"description": "Determines whether this is a domain account."
},
+ "displayName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the account."
+ },
"objectGuid": {
"type": "string",
"readOnly": true,
"format": "uuid",
"description": "The objectGUID attribute is a single-value attribute that is the unique identifier for the object, assigned by active directory."
+ },
+ "hostEntityId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The Host entity id that contains the account in case it is a local account (not domain joined)"
}
}
},
@@ -2799,6 +2993,11 @@
"HostEntityProperties": {
"type": "object",
"description": "Host entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
"properties": {
"dnsDomain": {
"type": "string",
@@ -2894,6 +3093,11 @@
"FileEntityProperties": {
"type": "object",
"description": "File entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
"properties": {
"directory": {
"type": "string",
@@ -2904,81 +3108,1240 @@
"type": "string",
"readOnly": true,
"description": "The file name without path (some alerts might not include path)."
- }
- }
- },
- "OfficeConsentList": {
- "description": "List of all the office365 consents.",
- "properties": {
- "nextLink": {
+ },
+ "hostEntityId": {
+ "type": "string",
"readOnly": true,
- "description": "URL to fetch the next set of office consents.",
- "type": "string"
+ "description": "The Host entity id which the file belongs to"
},
- "value": {
- "description": "Array of the consents.",
+ "fileHashEntityIds": {
"type": "array",
+ "readOnly": true,
"items": {
- "$ref": "#/definitions/OfficeConsent"
- }
+ "description": "file hash id",
+ "type": "string"
+ },
+ "description": "The file hash entity identifiers associated with this file"
}
- },
- "required": [
- "value"
- ]
+ }
},
- "OfficeConsent": {
+ "SecurityAlert": {
+ "x-ms-discriminator-value": "SecurityAlert",
"type": "object",
- "description": "Consent for Office365 tenant that already made.",
+ "description": "Represents a security alert entity.",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "#/definitions/Entity"
}
],
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "description": "Office consent properties",
- "$ref": "#/definitions/OfficeConsentProperties"
+ "description": "SecurityAlert entity properties",
+ "$ref": "#/definitions/SecurityAlertProperties"
}
}
},
- "OfficeConsentProperties": {
+ "SecurityAlertProperties": {
"type": "object",
- "description": "Consent property bag.",
- "properties": {
- "tenantId": {
- "type": "string",
- "description": "The tenantId of the Office365 with the consent."
- },
- "tenantName": {
- "type": "string",
- "readOnly": true,
- "description": "The tenant name of the Office365 with the consent."
+ "description": "SecurityAlert entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
}
- }
- },
- "Resource": {
- "x-ms-azure-resource": true,
- "description": "An azure resource object",
+ ],
"properties": {
- "id": {
+ "systemAlertId": {
"type": "string",
"readOnly": true,
- "description": "Azure resource Id"
+ "description": "Holds the product identifier of the alert for the product."
},
- "type": {
+ "confidenceReasons": {
+ "type": "array",
+ "readOnly": true,
+ "description": "The confidence reasons",
+ "items": {
+ "type": "object",
+ "description": "confidence reason item",
+ "properties": {
+ "reasonType": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The type (category) of the reason"
+ },
+ "reason": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The reason's description"
+ }
+ }
+ }
+ },
+ "confidenceScoreStatus": {
"type": "string",
+ "description": "The confidence score calculation status, i.e. indicating if score calculation is pending for this alert, not applicable or final.",
"readOnly": true,
- "description": "Azure resource type"
+ "enum": [
+ "NotApplicable",
+ "InProcess",
+ "NotFinal",
+ "Final"
+ ],
+ "x-ms-enum": {
+ "name": "ConfidenceScoreStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "NotApplicable",
+ "description": "Score will not be calculated for this alert as it is not supported by virtual analyst"
+ },
+ {
+ "value": "InProcess",
+ "description": "No score was set yet and calculation is in progress"
+ },
+ {
+ "value": "NotFinal",
+ "description": "Score is calculated and shown as part of the alert, but may be updated again at a later time following the processing of additional data"
+ },
+ {
+ "value": "Final",
+ "description": "Final score was calculated and available"
+ }
+ ]
+ }
},
- "name": {
+ "intent": {
"type": "string",
+ "description": "Holds the alert intent stage(s) mapping for this alert.",
"readOnly": true,
- "description": "Azure resource name"
- }
- }
- },
+ "enum": [
+ "Unknown",
+ "Probing",
+ "Exploitation",
+ "Persistence",
+ "PrivilegeEscalation",
+ "DefenseEvasion",
+ "CredentialAccess",
+ "Discovery",
+ "LateralMovement",
+ "Execution",
+ "Collection",
+ "Exfiltration",
+ "CommandAndControl",
+ "Impact"
+ ],
+ "x-ms-enum": {
+ "name": "KillChainIntent",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "The default value."
+ },
+ {
+ "value": "Probing",
+ "description": "Probing could be an attempt to access a certain resource regardless of a malicious intent or a failed attempt to gain access to a target system to gather information prior to exploitation. This step is usually detected as an attempt originating from outside the network in attempt to scan the target system and find a way in."
+ },
+ {
+ "value": "Exploitation",
+ "description": "Exploitation is the stage where an attacker manage to get foothold on the attacked resource. This stage is applicable not only for compute hosts, but also for resources such as user accounts, certificates etc. Adversaries will often be able to control the resource after this stage."
+ },
+ {
+ "value": "Persistence",
+ "description": "Persistence is any access, action, or configuration change to a system that gives an adversary a persistent presence on that system. Adversaries will often need to maintain access to systems through interruptions such as system restarts, loss of credentials, or other failures that would require a remote access tool to restart or alternate backdoor for them to regain access."
+ },
+ {
+ "value": "PrivilegeEscalation",
+ "description": "Privilege escalation is the result of actions that allow an adversary to obtain a higher level of permissions on a system or network. Certain tools or actions require a higher level of privilege to work and are likely necessary at many points throughout an operation. User accounts with permissions to access specific systems or perform specific functions necessary for adversaries to achieve their objective may also be considered an escalation of privilege."
+ },
+ {
+ "value": "DefenseEvasion",
+ "description": "Defense evasion consists of techniques an adversary may use to evade detection or avoid other defenses. Sometimes these actions are the same as or variations of techniques in other categories that have the added benefit of subverting a particular defense or mitigation. "
+ },
+ {
+ "value": "CredentialAccess",
+ "description": "Credential access represents techniques resulting in access to or control over system, domain, or service credentials that are used within an enterprise environment. Adversaries will likely attempt to obtain legitimate credentials from users or administrator accounts (local system administrator or domain users with administrator access) to use within the network. With sufficient access within a network, an adversary can create accounts for later use within the environment."
+ },
+ {
+ "value": "Discovery",
+ "description": "Discovery consists of techniques that allow the adversary to gain knowledge about the system and internal network. When adversaries gain access to a new system, they must orient themselves to what they now have control of and what benefits operating from that system give to their current objective or overall goals during the intrusion. The operating system provides many native tools that aid in this post-compromise information-gathering phase."
+ },
+ {
+ "value": "LateralMovement",
+ "description": "Lateral movement consists of techniques that enable an adversary to access and control remote systems on a network and could, but does not necessarily, include execution of tools on remote systems. The lateral movement techniques could allow an adversary to gather information from a system without needing additional tools, such as a remote access tool. An adversary can use lateral movement for many purposes, including remote Execution of tools, pivoting to additional systems, access to specific information or files, access to additional credentials, or to cause an effect."
+ },
+ {
+ "value": "Execution",
+ "description": "The execution tactic represents techniques that result in execution of adversary-controlled code on a local or remote system. This tactic is often used in conjunction with lateral movement to expand access to remote systems on a network."
+ },
+ {
+ "value": "Collection",
+ "description": "Collection consists of techniques used to identify and gather information, such as sensitive files, from a target network prior to exfiltration. This category also covers locations on a system or network where the adversary may look for information to exfiltrate."
+ },
+ {
+ "value": "Exfiltration",
+ "description": "Exfiltration refers to techniques and attributes that result or aid in the adversary removing files and information from a target network. This category also covers locations on a system or network where the adversary may look for information to exfiltrate."
+ },
+ {
+ "value": "CommandAndControl",
+ "description": "The command and control tactic represents how adversaries communicate with systems under their control within a target network."
+ },
+ {
+ "value": "Impact",
+ "description": "The impact intent primary objective is to directly reduce the availability or integrity of a system, service, or network; including manipulation of data to impact a business or operational process. This would often refer to techniques such as ransom-ware, defacement, data manipulation and others."
+ }
+ ]
+ }
+ },
+ "confidenceScore": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "description": "The confidence score of the alert."
+ },
+ "alertDisplayName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the alert."
+ },
+ "description": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Alert description."
+ },
+ "remediationSteps": {
+ "type": "array",
+ "readOnly": true,
+ "description": "Manual action items to take to remediate the alert.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "confidenceLevel": {
+ "type": "string",
+ "description": "The confidence level of this alert.",
+ "readOnly": true,
+ "enum": [
+ "Unknown",
+ "Low",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "ConfidenceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Unknown confidence, the is the default value"
+ },
+ {
+ "value": "Low",
+ "description": "Low confidence, meaning we have some doubts this is indeed malicious or part of an attack"
+ },
+ {
+ "value": "High",
+ "description": "High confidence that the alert is true positive malicious"
+ }
+ ]
+ }
+ },
+ "severity": {
+ "$ref": "#/definitions/AlertSeverity",
+ "description": "The severity of the alert"
+ },
+ "vendorName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the vendor that raise the alert."
+ },
+ "productName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the product which published this alert."
+ },
+ "productComponentName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of a component inside the product which generated the alert."
+ },
+ "alertType": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The type name of the alert."
+ },
+ "productVersion": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The version of the product generating the alert."
+ },
+ "processingEndTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The time the alert was made available for consumption."
+ },
+ "status": {
+ "type": "string",
+ "description": "The lifecycle status of the alert.",
+ "readOnly": true,
+ "enum": [
+ "Unknown",
+ "New",
+ "Resolved",
+ "Dismissed",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "AlertStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Unknown value"
+ },
+ {
+ "value": "New",
+ "description": "New alert"
+ },
+ {
+ "value": "Resolved",
+ "description": "Alert closed after handling"
+ },
+ {
+ "value": "Dismissed",
+ "description": "Alert dismissed as false positive"
+ },
+ {
+ "value": "InProgress",
+ "description": "Alert is being handled"
+ }
+ ]
+ }
+ },
+ "endTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The impact end time of the alert (the time of the last event contributing to the alert)."
+ },
+ "startTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The impact start time of the alert (the time of the first event contributing to the alert)."
+ },
+ "timeGenerated": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The time the alert was generated."
+ },
+ "compromisedEntity": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Display name of the main entity being reported on."
+ }
+ }
+ },
+ "FileHashEntity": {
+ "x-ms-discriminator-value": "FileHash",
+ "type": "object",
+ "description": "Represents a file hash entity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "FileHash entity properties",
+ "$ref": "#/definitions/FileHashEntityProperties"
+ }
+ }
+ },
+ "FileHashEntityProperties": {
+ "type": "object",
+ "description": "FileHash entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "properties": {
+ "hashValue": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The file hash value."
+ },
+ "algorithm": {
+ "type": "string",
+ "description": "The hash algorithm type.",
+ "readOnly": true,
+ "enum": [
+ "Unknown",
+ "MD5",
+ "SHA1",
+ "SHA256",
+ "SHA256AC"
+ ],
+ "x-ms-enum": {
+ "name": "FileHashAlgorithm",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Unknown hash algorithm"
+ },
+ {
+ "value": "MD5",
+ "description": "MD5 hash type"
+ },
+ {
+ "value": "SHA1",
+ "description": "SHA1 hash type"
+ },
+ {
+ "value": "SHA256",
+ "description": "SHA256 hash type"
+ },
+ {
+ "value": "SHA256AC",
+ "description": "SHA256 Authenticode hash type"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "MalwareEntity": {
+ "x-ms-discriminator-value": "Malware",
+ "type": "object",
+ "description": "Represents a malware entity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "File entity properties",
+ "$ref": "#/definitions/MalwareEntityProperties"
+ }
+ }
+ },
+ "MalwareEntityProperties": {
+ "type": "object",
+ "description": "Malware entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "properties": {
+ "malwareName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The malware name by the vendor, e.g. Win32/Toga!rfn"
+ },
+ "category": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The malware category by the vendor, e.g. Trojan"
+ },
+ "fileEntityIds": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "description": "file entity id",
+ "type": "string"
+ },
+ "description": "List of linked file entity identifiers on which the malware was found"
+ },
+ "processEntityIds": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "description": "process entity id",
+ "type": "string"
+ },
+ "description": "List of linked process entity identifiers on which the malware was found."
+ }
+ }
+ },
+ "SecurityGroupEntity": {
+ "x-ms-discriminator-value": "SecurityGroup",
+ "type": "object",
+ "description": "Represents a security group entity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "SecurityGroup entity properties",
+ "$ref": "#/definitions/SecurityGroupEntityProperties"
+ }
+ }
+ },
+ "SecurityGroupEntityProperties": {
+ "type": "object",
+ "description": "SecurityGroup entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "properties": {
+ "distinguishedName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The group distinguished name"
+ },
+ "sid": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The SID attribute is a single-value attribute that specifies the security identifier (SID) of the group"
+ },
+ "objectGuid": {
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true,
+ "description": "A single-value attribute that is the unique identifier for the object, assigned by active directory."
+ }
+ }
+ },
+ "AzureResourceEntity": {
+ "x-ms-discriminator-value": "AzureResource",
+ "type": "object",
+ "description": "Represents an azure resource entity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "AzureResource entity properties",
+ "$ref": "#/definitions/AzureResourceEntityProperties"
+ }
+ }
+ },
+ "AzureResourceEntityProperties": {
+ "type": "object",
+ "description": "AzureResource entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "properties": {
+ "resourceId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The azure resource id of the resource"
+ }
+ }
+ },
+ "CloudApplicationEntity": {
+ "x-ms-discriminator-value": "CloudApplication",
+ "type": "object",
+ "description": "Represents a cloud application entity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "CloudApplication entity properties",
+ "$ref": "#/definitions/CloudApplicationEntityProperties"
+ }
+ }
+ },
+ "CloudApplicationEntityProperties": {
+ "type": "object",
+ "description": "CloudApplication entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "properties": {
+ "appId": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "The technical identifier of the application."
+ },
+ "appName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the related cloud application."
+ },
+ "instanceName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The user defined instance name of the cloud application. It is often used to distinguish between several applications of the same type that a customer has."
+ }
+ }
+ },
+ "ProcessEntity": {
+ "x-ms-discriminator-value": "Process",
+ "type": "object",
+ "description": "Represents a process entity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Process entity properties",
+ "$ref": "#/definitions/ProcessEntityProperties"
+ }
+ }
+ },
+ "ProcessEntityProperties": {
+ "type": "object",
+ "description": "Process entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "properties": {
+ "processId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The process ID"
+ },
+ "commandLine": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The command line used to create the process"
+ },
+ "elevationToken": {
+ "type": "string",
+ "enum": [
+ "Default",
+ "Full",
+ "Limited"
+ ],
+ "x-ms-enum": {
+ "name": "ElevationToken",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "Default",
+ "description": "Default elevation token"
+ },
+ {
+ "value": "Full",
+ "description": "Full elevation token"
+ },
+ {
+ "value": "Limited",
+ "description": "Limited elevation token"
+ }
+ ]
+ },
+ "description": "The elevation token associated with the process."
+ },
+ "creationTimeUtc": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The time when the process started to run"
+ },
+ "imageFileEntityId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Image file entity id"
+ },
+ "accountEntityId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The account entity id running the processes."
+ },
+ "parentProcessEntityId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The parent process entity id."
+ },
+ "hostEntityId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The host entity id on which the process was running"
+ },
+ "hostLogonSessionEntityId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The session entity id in which the process was running"
+ }
+ }
+ },
+ "DnsEntity": {
+ "x-ms-discriminator-value": "DnsResolution",
+ "type": "object",
+ "description": "Represents a dns entity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Dns entity properties",
+ "$ref": "#/definitions/DnsEntityProperties"
+ }
+ }
+ },
+ "DnsEntityProperties": {
+ "type": "object",
+ "description": "Dns entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "properties": {
+ "domainName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the dns record associated with the alert"
+ },
+ "ipAddressEntityIds": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "description": "Ip entity id",
+ "type": "string"
+ },
+ "description": "Ip entity identifiers for the resolved ip address."
+ },
+ "dnsServerIpEntityId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "An ip entity id for the dns server resolving the request"
+ },
+ "hostIpAddressEntityId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "An ip entity id for the dns request client"
+ }
+ }
+ },
+ "IpEntity": {
+ "x-ms-discriminator-value": "Ip",
+ "type": "object",
+ "description": "Represents an ip entity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Ip entity properties",
+ "$ref": "#/definitions/IpEntityProperties"
+ }
+ }
+ },
+ "IpEntityProperties": {
+ "type": "object",
+ "description": "Ip entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "properties": {
+ "address": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The IP address as string, e.g. 127.0.0.1 (either in Ipv4 or Ipv6)"
+ },
+ "location": {
+ "$ref": "#/definitions/GeoLocation",
+ "description": "The geo-location context attached to the ip entity"
+ },
+ "threatIntelligence": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ThreatIntelligence"
+ },
+ "description": "A list of TI contexts attached to the ip entity."
+ }
+ }
+ },
+ "GeoLocation": {
+ "type": "object",
+ "readOnly": true,
+ "description": "The geo-location context attached to the ip entity",
+ "properties": {
+ "countryCode": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The country code according to ISO 3166 format"
+ },
+ "countryName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Country name according to ISO 3166 Alpha 2: the lowercase of the English Short Name"
+ },
+ "state": {
+ "type": "string",
+ "readOnly": true,
+ "description": "State name"
+ },
+ "city": {
+ "type": "string",
+ "readOnly": true,
+ "description": "City name"
+ },
+ "longitude": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "description": "The latitude of the identified location, expressed as a floating point number with range of - 90 to 90, with positive numbers representing North and negative numbers representing South. Latitude and longitude are derived from the city or postal code."
+ },
+ "latitude": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "description": "The longitude of the identified location, expressed as a floating point number with range of -180 to 180, with positive numbers representing East and negative numbers representing West. Latitude and longitude are derived from the city or postal code."
+ },
+ "asn": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "Autonomous System Number"
+ }
+ }
+ },
+ "ThreatIntelligence": {
+ "type": "object",
+ "description": "ThreatIntelligence property bag.",
+ "properties": {
+ "providerName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Name of the provider from whom this Threat Intelligence information was received"
+ },
+ "threatType": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Threat type (e.g. \"Botnet\")"
+ },
+ "threatName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Threat name (e.g. \"Jedobot malware\")"
+ },
+ "confidence": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "description": "Confidence (must be between 0 and 1)"
+ },
+ "reportLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Report link"
+ },
+ "threatDescription": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Threat description (free text)"
+ }
+ }
+ },
+ "RegistryKeyEntity": {
+ "x-ms-discriminator-value": "RegistryKey",
+ "type": "object",
+ "description": "Represents a registry key entity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "RegistryKey entity properties",
+ "$ref": "#/definitions/RegistryKeyEntityProperties"
+ }
+ }
+ },
+ "RegistryKeyEntityProperties": {
+ "type": "object",
+ "description": "RegistryKey entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "properties": {
+ "hive": {
+ "type": "string",
+ "description": "the hive that holds the registry key.",
+ "readOnly": true,
+ "enum": [
+ "HKEY_LOCAL_MACHINE",
+ "HKEY_CLASSES_ROOT",
+ "HKEY_CURRENT_CONFIG",
+ "HKEY_USERS",
+ "HKEY_CURRENT_USER_LOCAL_SETTINGS",
+ "HKEY_PERFORMANCE_DATA",
+ "HKEY_PERFORMANCE_NLSTEXT",
+ "HKEY_PERFORMANCE_TEXT",
+ "HKEY_A",
+ "HKEY_CURRENT_USER"
+ ],
+ "x-ms-enum": {
+ "name": "RegistryHive",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "HKEY_LOCAL_MACHINE",
+ "description": "HKEY_LOCAL_MACHINE"
+ },
+ {
+ "value": "HKEY_CLASSES_ROOT",
+ "description": "HKEY_CLASSES_ROOT"
+ },
+ {
+ "value": "HKEY_CURRENT_CONFIG",
+ "description": "HKEY_CURRENT_CONFIG"
+ },
+ {
+ "value": "HKEY_USERS",
+ "description": "HKEY_USERS"
+ },
+ {
+ "value": "HKEY_CURRENT_USER_LOCAL_SETTINGS",
+ "description": "HKEY_CURRENT_USER_LOCAL_SETTINGS"
+ },
+ {
+ "value": "HKEY_PERFORMANCE_DATA",
+ "description": "HKEY_PERFORMANCE_DATA"
+ },
+ {
+ "value": "HKEY_PERFORMANCE_NLSTEXT",
+ "description": "HKEY_PERFORMANCE_NLSTEXT"
+ },
+ {
+ "value": "HKEY_PERFORMANCE_TEXT",
+ "description": "HKEY_PERFORMANCE_TEXT"
+ },
+ {
+ "value": "HKEY_A",
+ "description": "HKEY_A"
+ },
+ {
+ "value": "HKEY_CURRENT_USER",
+ "description": "HKEY_CURRENT_USER"
+ }
+ ]
+ }
+ },
+ "key": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The registry key path."
+ }
+ }
+ },
+ "RegistryValueEntity": {
+ "x-ms-discriminator-value": "RegistryValue",
+ "type": "object",
+ "description": "Represents a registry value entity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "RegistryKey entity properties",
+ "$ref": "#/definitions/RegistryValueEntityProperties"
+ }
+ }
+ },
+ "RegistryValueEntityProperties": {
+ "type": "object",
+ "description": "RegistryValue entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "properties": {
+ "valueName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The registry value name."
+ },
+ "valueData": {
+ "type": "string",
+ "readOnly": true,
+ "description": "String formatted representation of the value data."
+ },
+ "valueType": {
+ "type": "string",
+ "description": "Specifies the data types to use when storing values in the registry, or identifies the data type of a value in the registry.",
+ "readOnly": true,
+ "enum": [
+ "None",
+ "Unknown",
+ "String",
+ "ExpandString",
+ "Binary",
+ "DWord",
+ "MultiString",
+ "QWord"
+ ],
+ "x-ms-enum": {
+ "name": "RegistryValueKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "None",
+ "description": "None"
+ },
+ {
+ "value": "Unknown",
+ "description": "Unknown value type"
+ },
+ {
+ "value": "String",
+ "description": "String value type"
+ },
+ {
+ "value": "ExpandString",
+ "description": "ExpandString value type"
+ },
+ {
+ "value": "Binary",
+ "description": "Binary value type"
+ },
+ {
+ "value": "DWord",
+ "description": "DWord value type"
+ },
+ {
+ "value": "MultiString",
+ "description": "MultiString value type"
+ },
+ {
+ "value": "QWord",
+ "description": "QWord value type"
+ }
+ ]
+ }
+ },
+ "keyEntityId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The registry key entity id."
+ }
+ }
+ },
+ "UrlEntity": {
+ "x-ms-discriminator-value": "Url",
+ "type": "object",
+ "description": "Represents a url entity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Url entity properties",
+ "$ref": "#/definitions/UrlEntityProperties"
+ }
+ }
+ },
+ "UrlEntityProperties": {
+ "type": "object",
+ "description": "Url entity property bag.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EntityCommonProperties"
+ }
+ ],
+ "properties": {
+ "url": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A full URL the entity points to"
+ }
+ }
+ },
+ "EntityExpandParameters": {
+ "description": "The parameters required to execute an expand operation on the given entity.",
+ "properties": {
+ "expansionId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The Id of the expansion to perform."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The start date filter, so the only expansion results returned are after this date."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end date filter, so the only expansion results returned are before this date."
+ }
+ }
+ },
+ "EntityExpandResponse": {
+ "properties": {
+ "value": {
+ "type": "object",
+ "description": "The expansion result values.",
+ "properties": {
+ "entities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Entity"
+ },
+ "description": "Array of the expansion result entities."
+ }
+ }
+ },
+ "metaData": {
+ "$ref": "#/definitions/ExpansionResultsMetadata",
+ "description": "The metadata from the expansion operation results."
+ }
+ },
+ "description": "The entity expansion result operation response."
+ },
+ "ExpansionResultsMetadata": {
+ "type": "object",
+ "description": "Expansion result metadata.",
+ "properties": {
+ "aggregations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpansionResultAggregation"
+ },
+ "description": "Information of the aggregated nodes in the expansion result."
+ }
+ }
+ },
+ "ExpansionResultAggregation": {
+ "type": "object",
+ "description": "Information of a specific aggregation in the expansion result.",
+ "properties": {
+ "entityKind": {
+ "description": "The kind of the aggregated entity.",
+ "$ref": "#/definitions/EntityInnerKind"
+ },
+ "count": {
+ "type": "integer",
+ "description": "Total number of aggregations of the given kind (and aggregationType if given) in the expansion result."
+ },
+ "aggregationType": {
+ "type": "string",
+ "description": "The common type of the aggregation. (for e.g. entity field name)"
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The display name of the aggregation by type."
+ }
+ },
+ "required": [
+ "entityKind",
+ "count"
+ ]
+ },
+ "OfficeConsentList": {
+ "description": "List of all the office365 consents.",
+ "properties": {
+ "nextLink": {
+ "readOnly": true,
+ "description": "URL to fetch the next set of office consents.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Array of the consents.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OfficeConsent"
+ }
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "OfficeConsent": {
+ "type": "object",
+ "description": "Consent for Office365 tenant that already made.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Office consent properties",
+ "$ref": "#/definitions/OfficeConsentProperties"
+ }
+ }
+ },
+ "OfficeConsentProperties": {
+ "type": "object",
+ "description": "Consent property bag.",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "The tenantId of the Office365 with the consent."
+ },
+ "tenantName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The tenant name of the Office365 with the consent."
+ }
+ }
+ },
+ "Resource": {
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
+ }
+ }
+ },
"Settings": {
"type": "object",
"description": "The Setting.",
@@ -3259,7 +4622,7 @@
"description": "The template query string to be parsed and formatted"
},
"inputEntityType": {
- "type": "string",
+ "$ref": "#/definitions/EntityInnerType",
"description": "The type of the query's source entity"
},
"inputFields": {
@@ -3274,7 +4637,7 @@
"type": "array",
"items": {
"description": "output entity type",
- "type": "string"
+ "$ref": "#/definitions/EntityInnerType"
},
"description": "List of the desired output types to be constructed from the result"
},
@@ -3291,6 +4654,98 @@
"description": "The query display name"
}
}
+ },
+ "EntityInnerType": {
+ "type": "string",
+ "description": "The type of the entity",
+ "enum": [
+ "Account",
+ "Host",
+ "File",
+ "AzureResource",
+ "CloudApplication",
+ "DNS",
+ "FileHash",
+ "IP",
+ "Malware",
+ "Process",
+ "RegistryKey",
+ "RegistryValue",
+ "SecurityGroup",
+ "URL",
+ "SecurityAlert",
+ "HuntingBookmark"
+ ],
+ "x-ms-enum": {
+ "name": "EntityType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Account",
+ "description": "Entity represents account in the system."
+ },
+ {
+ "value": "Host",
+ "description": "Entity represents host in the system."
+ },
+ {
+ "value": "File",
+ "description": "Entity represents file in the system."
+ },
+ {
+ "value": "AzureResource",
+ "description": "Entity represents azure resource in the system."
+ },
+ {
+ "value": "CloudApplication",
+ "description": "Entity represents cloud application in the system."
+ },
+ {
+ "value": "DNS",
+ "description": "Entity represents dns in the system."
+ },
+ {
+ "value": "FileHash",
+ "description": "Entity represents file hash in the system."
+ },
+ {
+ "value": "IP",
+ "description": "Entity represents ip in the system."
+ },
+ {
+ "value": "Malware",
+ "description": "Entity represents malware in the system."
+ },
+ {
+ "value": "Process",
+ "description": "Entity represents process in the system."
+ },
+ {
+ "value": "RegistryKey",
+ "description": "Entity represents registry key in the system."
+ },
+ {
+ "value": "RegistryValue",
+ "description": "Entity represents registry value in the system."
+ },
+ {
+ "value": "SecurityGroup",
+ "description": "Entity represents security group in the system."
+ },
+ {
+ "value": "URL",
+ "description": "Entity represents url in the system."
+ },
+ {
+ "value": "SecurityAlert",
+ "description": "Entity represents security alert in the system."
+ },
+ {
+ "value": "HuntingBookmark",
+ "description": "Entity represents HuntingBookmark in the system."
+ }
+ ]
+ }
}
},
"parameters": {
@@ -3439,6 +4894,16 @@
"description": "entity ID",
"x-ms-parameter-location": "method"
},
+ "EntityExpandRequestBody": {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EntityExpandParameters"
+ },
+ "description": "The parameters required to execute an expand operation on the given entity.",
+ "x-ms-parameter-location": "method"
+ },
"ConsentId": {
"name": "consentId",
"in": "path",
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json
index cee95c7a2e79..308ad74facfe 100644
--- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json
@@ -15,6 +15,7 @@
"type": "Microsoft.SecurityInsights/entities",
"kind": "Account",
"properties": {
+ "friendlyName": "administrator",
"accountName": "administrator",
"ntDomain": "domain",
"upnSuffix": "contoso",
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAzureResourceEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAzureResourceEntityById.json
new file mode 100644
index 000000000000..97929b3d5a02
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAzureResourceEntityById.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "AzureResource",
+ "properties": {
+ "friendlyName": "Resource",
+ "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetCloudApplicationEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetCloudApplicationEntityById.json
new file mode 100644
index 000000000000..31067cee831f
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetCloudApplicationEntityById.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "CloudApplication",
+ "properties": {
+ "friendlyName": "AppName",
+ "appId": 1,
+ "appName": "AppName",
+ "instanceName": "InstanceName"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json
new file mode 100644
index 000000000000..941492387cd8
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "f4e74920-f2c0-4412-a45f-66d94fdf01f8"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/f4e74920-f2c0-4412-a45f-66d94fdf01f8",
+ "name": "f4e74920-f2c0-4412-a45f-66d94fdf01f8",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "DnsResolution",
+ "properties": {
+ "friendlyName": "domain",
+ "domainName": "domain",
+ "ipAddressEntityIds": ["475d3120-33e0-4841-9f1c-a8f15a801d19"]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json
index 7e5b63413caf..40cf28f9ce3a 100644
--- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json
@@ -16,6 +16,7 @@
"type": "Microsoft.SecurityInsights/entities",
"kind": "Account",
"properties": {
+ "friendlyName": "administrator",
"accountName": "administrator",
"ntDomain": "domain",
"upnSuffix": "contoso",
@@ -28,11 +29,12 @@
}
},
{
- "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1",
- "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/fed9fe89-dce8-40f2-bf44-70f23fe93b3c",
+ "name": "fed9fe89-dce8-40f2-bf44-70f23fe93b3c",
"type": "Microsoft.SecurityInsights/entities",
"kind": "Host",
"properties": {
+ "friendlyName": "vm1",
"dnsDomain": "contoso",
"ntDomain": "domain",
"hostName": "vm1",
@@ -50,6 +52,7 @@
"type": "Microsoft.SecurityInsights/entities",
"kind": "File",
"properties": {
+ "friendlyName": "cmd.exe",
"directory": "C:\\Windows\\System32",
"fileName": "cmd.exe"
}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json
index 75802c19e19a..4a3bcc139f44 100644
--- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json
@@ -15,6 +15,7 @@
"type": "Microsoft.SecurityInsights/entities",
"kind": "File",
"properties": {
+ "friendlyName": "cmd.exe",
"directory": "C:\\Windows\\System32",
"fileName": "cmd.exe"
}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileHashEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileHashEntityById.json
new file mode 100644
index 000000000000..54f495799839
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileHashEntityById.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "ea359fa6-c1e5-f878-e105-6344f3e399a1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/ea359fa6-c1e5-f878-e105-6344f3e399a1",
+ "name": "ea359fa6-c1e5-f878-e105-6344f3e399a1",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "FileHash",
+ "properties": {
+ "friendlyName": "E923636F1093C414AAB39F846E9D7A372BEEFA7B628B28179197E539C56AA0F0(SHA256)",
+ "hashValue": "E923636F1093C414AAB39F846E9D7A372BEEFA7B628B28179197E539C56AA0F0",
+ "algorithm": "SHA256"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json
index aacb859bc369..8674609f90db 100644
--- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json
@@ -15,6 +15,7 @@
"type": "Microsoft.SecurityInsights/entities",
"kind": "Host",
"properties": {
+ "friendlyName": "vm1",
"dnsDomain": "contoso",
"ntDomain": "domain",
"hostName": "vm1",
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIpEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIpEntityById.json
new file mode 100644
index 000000000000..e4b40831f8a9
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIpEntityById.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "Ip",
+ "properties": {
+ "friendlyName": "10.3.2.8",
+ "address": "10.3.2.8"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetMalwareEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetMalwareEntityById.json
new file mode 100644
index 000000000000..77bcffb266ba
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetMalwareEntityById.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "af378b21-b4aa-4fe7-bc70-13f8621a322f"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/af378b21-b4aa-4fe7-bc70-13f8621a322f",
+ "name": "af378b21-b4aa-4fe7-bc70-13f8621a322f",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "Malware",
+ "properties": {
+ "malwareName": "Win32/Toga!rfn",
+ "category": "Trojan",
+ "friendlyName": "Win32/Toga!rfn"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetProcessEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetProcessEntityById.json
new file mode 100644
index 000000000000..e3b3d000424f
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetProcessEntityById.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "7264685c-038c-42c6-948c-38e14ef1fb98"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/7264685c-038c-42c6-948c-38e14ef1fb98",
+ "name": "7264685c-038c-42c6-948c-38e14ef1fb98",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "Process",
+ "properties": {
+ "friendlyName": "cmd.exe",
+ "processId": "0x2aa48",
+ "commandLine": "\"cmd\"",
+ "imageFileEntityId": "bba7b47b-c1c1-4021-b568-5b07b9292f5e"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryKeyEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryKeyEntityById.json
new file mode 100644
index 000000000000..429e932a5114
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryKeyEntityById.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "RegistryKey",
+ "properties": {
+ "friendlyName": "SOFTWARE",
+ "hive": "HKEY_LOCAL_MACHINE",
+ "key": "SOFTWARE"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryValueEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryValueEntityById.json
new file mode 100644
index 000000000000..87d59b560965
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryValueEntityById.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "dc44bd11-b348-4d76-ad29-37bf7aa41356"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/dc44bd11-b348-4d76-ad29-37bf7aa41356",
+ "name": "dc44bd11-b348-4d76-ad29-37bf7aa41356",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "RegistryValue",
+ "properties": {
+ "friendlyName": "Data",
+ "valueName": "Name",
+ "valueData": "Data",
+ "valueType": "String",
+ "keyEntityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json
new file mode 100644
index 000000000000..3c79d0efbf90
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "4aa486e0-6f85-41af-99ea-7acdce7be6c8"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/4aa486e0-6f85-41af-99ea-7acdce7be6c8",
+ "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "SecurityAlert",
+ "properties": {
+ "systemAlertId": "4aa486e0-6f85-41af-99ea-7acdce7be6c8",
+ "intent": "Unknown",
+ "alertDisplayName": "Suspicious account detected",
+ "description": "",
+ "confidenceLevel": "Unknown",
+ "severity": "Medium",
+ "vendorName": "Microsoft",
+ "productName": "Azure Sentinel",
+ "productComponentName": "Scheduled Alerts",
+ "alertType": "c8c99641-985d-4e4e-8e91-fb3466cd0e5b_46c7b6c0-ff43-44dd-8b4d-ceffff7aa7df",
+ "processingEndTime": "2019-07-06T13:56:53.5392366Z",
+ "status": "New",
+ "endTimeUtc": "2019-07-06T13:21:45.926185Z",
+ "startTimeUtc": "2019-07-06T08:21:45.926185Z",
+ "timeGenerated": "2019-07-06T13:56:53.5392366Z",
+ "additionalData": {
+ "Query": "Heartbeat \n| extend AccountCustomEntity = \"administrator\"",
+ "Query Period": "05:00:00",
+ "Trigger Operator": "GreaterThan",
+ "Trigger Threshold": "200",
+ "Search Query Results Overall Count": "203",
+ "Total Account Entities": "1"
+ },
+ "friendlyName": "Suspicious account detected"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityGroupEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityGroupEntityById.json
new file mode 100644
index 000000000000..856ea6f4465d
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityGroupEntityById.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "SecurityGroup",
+ "properties": {
+ "friendlyName": "Group",
+ "distinguishedName": "Name",
+ "sid": "Sid",
+ "objectGuid": "fb1b8e04-d944-4986-b39a-1ce9adedcd98"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetUrlEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetUrlEntityById.json
new file mode 100644
index 000000000000..f5ab8cdd25da
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetUrlEntityById.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "Url",
+ "properties": {
+ "friendlyName": "https://bing.com",
+ "url": "https://bing.com"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json
new file mode 100644
index 000000000000..b9aa3378204a
--- /dev/null
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01-preview",
+ "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
+ "resourceGroupName": "myRg",
+ "workspaceName": "myWorkspace",
+ "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
+ "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "parameters": {
+ "expansionId": "a77992f3-25e9-4d01-99a4-5ff606cc410a",
+ "startTime": "2019-04-25T00:00:00.000Z",
+ "endTime": "2019-05-26T00:00:00.000Z"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": {
+ "entities": [
+ {
+ "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1",
+ "type": "Microsoft.SecurityInsights/entities",
+ "kind": "Account",
+ "properties": {
+ "friendlyName": "administrator",
+ "accountName": "administrator",
+ "ntDomain": "domain"
+ }
+ }
+ ]
+ },
+ "metaData": {
+ "aggregations": [
+ {
+ "entityKind": "Account",
+ "count": 1
+ }
+ ]
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json
index 10b8e4a1a0bf..d3934569dca5 100644
--- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json
@@ -15,9 +15,9 @@
"name": "37ca3555-c135-4a73-a65e-9c1d00323f5d",
"type": "Microsoft.SecurityInsights/entityQueries",
"properties": {
- "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count asc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('')",
+ "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count asc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('')",
"inputFields": [
- "Address"
+ "address"
],
"outputEntityTypes": [
"Account"
@@ -25,7 +25,7 @@
"dataSources": [
"AzureActivity"
],
- "inputEntityType": "Ip",
+ "inputEntityType": "IP",
"displayName": "Least active accounts on Azure from this IP"
}
},
@@ -34,9 +34,9 @@
"name": "97a1d515-abf2-4231-9a35-985f9de0bb91",
"type": "Microsoft.SecurityInsights/entityQueries",
"properties": {
- "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count desc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('')",
+ "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count desc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('')",
"inputFields": [
- "Address"
+ "address"
],
"outputEntityTypes": [
"Account"
@@ -44,7 +44,7 @@
"dataSources": [
"AzureActivity"
],
- "inputEntityType": "Ip",
+ "inputEntityType": "IP",
"displayName": "Most active accounts on Azure from this IP"
}
}
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json
index 09c7622f7d57..6e7ccb5bdd66 100644
--- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json
@@ -14,9 +14,9 @@
"name": "07da3cc8-c8ad-4710-a44e-334cdcb7882b",
"type": "Microsoft.SecurityInsights/entityQueries",
"properties": {
- "queryTemplate": "let GetParentProcessesOnHost = (v_Host_HostName:string){\r\n SecurityEvent \r\n | where EventID == 4688 \r\n | where isnotempty(ParentProcessName)\r\n | where NewProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe' and ParentProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe'\r\n and NewProcessName!contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe' and ParentProcessName !contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe'\r\n and ParentProcessName !contains ':\\\\Windows\\\\CCM\\\\CcmExec.exe'\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\svchost.exe' and (NewProcessName !contains ':\\\\Windows\\\\System32\\\\wbem\\\\WmiPrvSE.exe' or NewProcessName !contains ':\\\\Windows\\\\SysWOW64\\\\wbem\\\\WmiPrvSE.exe'))\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\services.exe' and NewProcessName !contains ':\\\\Windows\\\\servicing\\\\TrustedInstaller.exe')\r\n | where toupper(Computer) contains v_Host_HostName or toupper(WorkstationName) contains v_Host_HostName\r\n | summarize min(TimeGenerated), max(TimeGenerated) by Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project min_TimeGenerated, max_TimeGenerated, Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project-rename Process_Host_UnstructuredName=Computer, Process_Account_UnstructuredName=Account, Process_CommandLine=CommandLine, Process_ProcessId=ProcessId, Process_ImageFile_FullPath=NewProcessName, Process_ParentProcess_ImageFile_FullPath=ParentProcessName\r\n | top 10 by min_TimeGenerated asc};\r\n GetParentProcessesOnHost(toupper(''))",
+ "queryTemplate": "let GetParentProcessesOnHost = (v_Host_HostName:string){\r\n SecurityEvent \r\n | where EventID == 4688 \r\n | where isnotempty(ParentProcessName)\r\n | where NewProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe' and ParentProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe'\r\n and NewProcessName!contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe' and ParentProcessName !contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe'\r\n and ParentProcessName !contains ':\\\\Windows\\\\CCM\\\\CcmExec.exe'\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\svchost.exe' and (NewProcessName !contains ':\\\\Windows\\\\System32\\\\wbem\\\\WmiPrvSE.exe' or NewProcessName !contains ':\\\\Windows\\\\SysWOW64\\\\wbem\\\\WmiPrvSE.exe'))\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\services.exe' and NewProcessName !contains ':\\\\Windows\\\\servicing\\\\TrustedInstaller.exe')\r\n | where toupper(Computer) contains v_Host_HostName or toupper(WorkstationName) contains v_Host_HostName\r\n | summarize min(TimeGenerated), max(TimeGenerated) by Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project min_TimeGenerated, max_TimeGenerated, Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project-rename Process_Host_UnstructuredName=Computer, Process_Account_UnstructuredName=Account, Process_CommandLine=CommandLine, Process_ProcessId=ProcessId, Process_ImageFile_FullPath=NewProcessName, Process_ParentProcess_ImageFile_FullPath=ParentProcessName\r\n | top 10 by min_TimeGenerated asc};\r\n GetParentProcessesOnHost(toupper(''))",
"inputFields": [
- "HostName"
+ "hostName"
],
"outputEntityTypes": [
"Process"
diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json
index 14537ab91c48..7347ec8c6444 100644
--- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json
+++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json
@@ -33,7 +33,7 @@
}
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json
index 9d230b4a6666..6d9746679571 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json
@@ -19,9 +19,6 @@
"ApplicationDefinitionKind": "ServiceFabricApplicationDescription"
}
},
- "204": {
- "headers": {},
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json
index 87c8485a607c..8552057cbe2f 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json
@@ -21,9 +21,6 @@
"HealthState": "Ok"
}
},
- "204": {
- "headers": {},
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json
index 910cb86eaf6d..4340954856fe 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json
@@ -31,9 +31,6 @@
"IsServiceGroup": false
}
},
- "204": {
- "headers": {},
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json
index a85c1110e620..6cfc2a82e2bd 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json
@@ -12989,7 +12989,7 @@
},
"ServicePlacementPreferPrimaryDomainPolicyDescription": {
"x-ms-discriminator-value": "PreferredPrimaryDomain",
- "description": "Describes the policy to be used for placement of a Service Fabric service where the service's Primary replicas should optimally be placed in a particular domain.\n\nThis placement policy is usually used with fault domains in scenarios where the Service Fabric cluster is geographically distributed in order to indicate that a service�s primary replica should be located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional or datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica may not end up located in this domain due to failures, capacity limits, or other constraints.",
+ "description": "Describes the policy to be used for placement of a Service Fabric service where the service's Primary replicas should optimally be placed in a particular domain.\n\nThis placement policy is usually used with fault domains in scenarios where the Service Fabric cluster is geographically distributed in order to indicate that a service's primary replica should be located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional or datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica may not end up located in this domain due to failures, capacity limits, or other constraints.",
"allOf": [
{
"$ref": "#/definitions/ServicePlacementPolicyDescription"
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json
index 11ce294cc36a..90bd417ce859 100644
--- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json
@@ -2,18 +2,18 @@
"parameters": {
"scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}",
"api-version": "2019-06-01-preview",
- "$filter": "SQLBYOLEnterpriseForADH"
+ "$filter": "SQL_Server_EE_AHB"
},
"responses": {
"200": {
"body": {
"value": [
{
- "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89",
- "name": "SQL BYOL Enterprise for Azure Dedicated Host",
+ "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_hostGroup_hostName",
+ "name": "SQL_hostGroup_hostName",
"type": "Microsoft.SoftwarePlans/hybridUseBenefits",
"sku": {
- "name": "SQLBYOLEnterpriseForADH"
+ "name": "SQL_Server_EE_AHB"
},
"etag": 1,
"properties": {
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json
index 5a5bb43a8b8a..268d31a5d846 100644
--- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json
@@ -9,11 +9,11 @@
"body": {
"value": [
{
- "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89",
- "name": "SQL BYOL Enterprise for Azure Dedicated Host",
+ "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}",
+ "name": "SQL_{hostGroupName}_{hostName}",
"type": "Microsoft.SoftwarePlans/hybridUseBenefits",
"sku": {
- "name": "SQLBYOLEnterpriseForADH"
+ "name": "SQL_Server_EE_AHB"
},
"etag": 1,
"properties": {
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json
index 421f5f879e34..bef6e6c1cb2d 100644
--- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json
@@ -7,11 +7,11 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{guid}",
- "name": "SQL BYOL Enterprise for Azure Dedicated Host",
+ "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}",
+ "name": "SQL_{hostGroupName}_{hostName}",
"type": "Microsoft.SoftwarePlans/hybridUseBenefits",
"sku": {
- "name": "SQLBYOLEnterpriseForADH"
+ "name": "SQL_Server_EE_AHB"
},
"etag": 1,
"properties": {
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json
index 0c00bdfb88ce..76f4e34b3b64 100644
--- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json
@@ -13,8 +13,8 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89",
- "name": "SQL BYOL Enterprise for Azure Dedicated Host",
+ "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}",
+ "name": "SQL_{hostGroupName}_{hostName}",
"type": "Microsoft.SoftwarePlans/hybridUseBenefits",
"sku": {
"name": "SQLBYOLStandardForADH"
diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json
index 51eac8d275cb..b7c9acba44b6 100644
--- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json
+++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json
@@ -6,18 +6,18 @@
"body": {
"type": "Microsoft.SoftwarePlan/hybridUseBenefits",
"sku": {
- "name": "SQLBYOLEnterpriseForADH"
+ "name": "SQL_Server_Perpetual"
}
}
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89",
- "name": "SQL BYOL Enterprise for Azure Dedicated Host",
+ "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}",
+ "name": "SQL_{hostGroupName}_{hostName}",
"type": "Microsoft.SoftwarePlans/hybridUseBenefits",
"sku": {
- "name": "SQLBYOLEnterpriseForADH"
+ "name": "SQL_Server_Perpetual"
},
"etag": 1,
"properties": {
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json
index 914d197ebf0c..586dfe1e8c91 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/blobAuditing.json
@@ -180,7 +180,7 @@
"type": "boolean"
},
"isAzureMonitorTargetEnabled": {
- "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
+ "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
"type": "boolean"
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json
index ae0dcecf831f..d1ba099b38ae 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json
@@ -9,7 +9,7 @@
"parameters": {
"properties": {
"state": "Enabled",
- "IsAzureMonitorTargetEnabled": true
+ "isAzureMonitorTargetEnabled": true
}
}
},
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json
index 10e7c6312935..f0766ac09618 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FailoverGroupDelete.json
@@ -7,14 +7,8 @@
"api-version": "2015-05-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json
index 51ab66f29b0e..1f48aeff8313 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/FirewallRuleDelete.json
@@ -7,11 +7,7 @@
"api-version": "2015-05-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json
index 88db0c8b5a4f..dd17496189b9 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ManagedInstanceDelete.json
@@ -6,12 +6,8 @@
"api-version": "2015-05-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
+ "200": {},
"202": {},
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json
index 2dd4eb5578fc..77f5eab5630c 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerDelete.json
@@ -6,12 +6,8 @@
"api-version": "2015-05-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
+ "200": {},
"202": {},
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json
index 5762754693a7..9b8ffa9c6512 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/ServerKeyDelete.json
@@ -7,12 +7,8 @@
"api-version": "2015-05-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
+ "200": {},
"202": {},
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json
index 495bace0df8d..258fea407453 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreate.json
@@ -40,8 +40,6 @@
"type": "Microsoft.Sql/servers/syncAgents"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json
index 495bace0df8d..258fea407453 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json
@@ -40,8 +40,6 @@
"type": "Microsoft.Sql/servers/syncAgents"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json
index 9e69538042b9..cc369cf55663 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentDelete.json
@@ -7,14 +7,8 @@
"api-version": "2015-05-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json
index 495bace0df8d..258fea407453 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncAgentUpdate.json
@@ -40,8 +40,6 @@
"type": "Microsoft.Sql/servers/syncAgents"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json
index effe921ae286..3a2ade2458c3 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreate.json
@@ -47,8 +47,6 @@
"type": "Microsoft.Sql/servers/databases/syncGroups"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json
index effe921ae286..3a2ade2458c3 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json
@@ -47,8 +47,6 @@
"type": "Microsoft.Sql/servers/databases/syncGroups"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json
index 238ffe162c60..a323637a03e3 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupDelete.json
@@ -8,14 +8,8 @@
"api-version": "2015-05-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json
index df336358a198..09ec3eb000a8 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupPatch.json
@@ -33,8 +33,6 @@
"type": "Microsoft.Sql/servers/databases/syncGroups"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json
index effe921ae286..3a2ade2458c3 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncGroupUpdate.json
@@ -47,8 +47,6 @@
"type": "Microsoft.Sql/servers/databases/syncGroups"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json
index e4202edea494..e43d2d3780a1 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/SyncMemberDelete.json
@@ -9,14 +9,8 @@
"api-version": "2015-05-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json
index a74d86bebcd1..50c3850fccb0 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json
@@ -6,12 +6,8 @@
"api-version": "2015-05-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
+ "200": {},
"202": {},
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json
index 2d286d52e7c8..382e8a67a2fb 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json
@@ -7,14 +7,8 @@
"api-version": "2015-05-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json
index 2dccfe7db6d6..60968e74ba8e 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json
@@ -489,7 +489,7 @@
"type": "boolean"
},
"isAzureMonitorTargetEnabled": {
- "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
+ "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
"type": "boolean"
}
}
@@ -567,7 +567,7 @@
"type": "boolean"
},
"isAzureMonitorTargetEnabled": {
- "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
+ "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
"type": "boolean"
}
}
@@ -641,7 +641,7 @@
"type": "boolean"
},
"isAzureMonitorTargetEnabled": {
- "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
+ "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
"type": "boolean"
}
}
@@ -715,7 +715,7 @@
"type": "boolean"
},
"isAzureMonitorTargetEnabled": {
- "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
+ "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
"type": "boolean"
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json
index 0ed12e4708b8..03fbd62759f4 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/CancelDatabaseOperation.json
@@ -8,8 +8,6 @@
"api-version": "2017-03-01-preview"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json
index ae0dcecf831f..d1ba099b38ae 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json
@@ -9,7 +9,7 @@
"parameters": {
"properties": {
"state": "Enabled",
- "IsAzureMonitorTargetEnabled": true
+ "isAzureMonitorTargetEnabled": true
}
}
},
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json
index 76b88edfcafa..5f1fbd7baf6a 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/DatabaseRestorePointsPost.json
@@ -23,6 +23,7 @@
"restorePointLabel": "mylabel"
}
}
- }
+ },
+ "202": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json
index 03792a5bc52b..cab3ff43e7ab 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseDelete.json
@@ -7,12 +7,8 @@
"api-version": "2017-03-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
+ "200": {},
"202": {},
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json
index fa32fce558f9..b15050d63f9f 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json
@@ -9,7 +9,7 @@
"databaseSecurityAlertPolicyResource": {
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [
"test@microsoft.com",
"user@microsoft.com"
@@ -33,7 +33,7 @@
"kind": "V12",
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [
"test@microsoft.com",
"user@microsoft.com"
@@ -56,7 +56,7 @@
"kind": "V12",
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [
"test@microsoft.com",
"user@microsoft.com"
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json
index ac22edd70215..3ab86124c2af 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json
@@ -21,7 +21,7 @@
"kind": "V12",
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [],
"disabledAlerts": [],
"retentionDays": 0,
@@ -38,7 +38,7 @@
"kind": "V12",
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [],
"disabledAlerts": [],
"retentionDays": 0,
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json
index bd8d7b310efe..4d5445cc5644 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json
@@ -18,7 +18,7 @@
"kind": "V12",
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [
"test@microsoft.com",
"user@microsoft.com"
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json
index c558dc3d001e..7a9e5e9fd82e 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json
@@ -7,9 +7,7 @@
"api-version": "2017-03-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
+ "200": {},
"202": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json
index 7cc5e64fb2d5..b1f67e0ed018 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerDnsAliasDelete.json
@@ -7,14 +7,8 @@
"api-version": "2017-03-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json
index 0ed12e4708b8..03fbd62759f4 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelDatabaseOperation.json
@@ -8,8 +8,6 @@
"api-version": "2017-03-01-preview"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json
index 02c93e53a1de..ca8c0a6b082a 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/CancelElasticPoolOperation.json
@@ -8,8 +8,6 @@
"api-version": "2017-10-01-preview"
},
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json
index 43158545cdee..8fdb5334f303 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ElasticPoolDelete.json
@@ -7,12 +7,8 @@
"api-version": "2017-10-01"
},
"responses": {
- "200": {
- "body": ""
- },
+ "200": {},
"202": {},
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json
index 718773a895de..512f0a1eba69 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/InstanceFailoverGroupDelete.json
@@ -7,14 +7,8 @@
"api-version": "2017-10-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json
index a748fd8b799d..6ae6305cc2c2 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceKeyDelete.json
@@ -7,12 +7,8 @@
"api-version": "2017-10-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
+ "200": {},
"202": {},
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json
index daa4452eb004..06d9053ecf70 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/ManagedInstanceTdeCertificate.json
@@ -7,7 +7,7 @@
"parameters": {
"properties": {
"privateBlob": "MIIJ+QIBAzCCCbUGCSqGSIb3DQEHAaCCCaYEggmiMIIJnjCCBhcGCSqGSIb3DQEHAaCCBggEggYEMIIGADCCBfwGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAgUeBd7F2KZUwICB9AEggTYSRi88/Xf0EZ9smyYDCr+jHa7a/510s19/5wjqGbLTT/CYBu2qSOhj+g9sNvjj5oWAcluaZ4XCl/oJhXlB+9q9ZYSC6pPhma7/Il+/zlZm8ZUMfgnUefpKXGj+Ilydghya2DOA0PONDGbqIJGBYC0JgtiL7WcYyA+LEiO0vXc2fZ+ccjQsHM+ePFOm6rTJ1oqE3quRC5Ls2Bv22PCmF+GWkWxqH1L5x8wR2tYfecEsx4sKMj318novQqBlJckOUPDrTT2ic6izFnDWS+zbGezSCeRkt2vjCUVDg7Aqm2bkmLVn+arA3tDZ/DBxgTwwt8prpAznDYG07WRxXMUk8Uqzmcds85jSMLSBOoRaS7GwIPprx0QwyYXd8H/go2vafuGCydRk8mA0bGLXjYWuYHAtztlGrE71a7ILqHY4XankohSAY4YF9Fc1mJcdtsuICs5vNosw1lf0VK5BR4ONCkiGFdYEKUpaUrzKpQiw3zteBN8RQs/ADKGWzaWERrkptf0pLH3/QnZvu9xwwnNWneygByPy7OVYrvgjD27x7Y/C24GyQweh75OTQN3fAvUj7IqeTVyWZGZq32AY/uUXYwASBpLbNUtUBfJ7bgyvVSZlPvcFUwDHJC1P+fSP8Vfcc9W3ec9HqVheXio7gYBEg9hZrOZwiZorl8HZJsEj5NxGccBme6hEVQRZfar5kFDHor/zmKohEAJVw8lVLkgmEuz8aqQUDSWVAcLbkfqygK/NxsR2CaC6xWroagQSRwpF8YbvqYJtAQvdkUXY9Ll4LSRcxKrWMZHgI+1Z22pyNtpy/kXLADche5CF3AVbHtzNNgn9L4GVuCW1Lqufu3U2+DEG+u53u1vraf45RS1y0IyLjTGC+8j0OTxcgUU6FrGgFny0m676v8potPrfyHvuOO511aOTe8UPBfnYyx0XHJPn8RaYGq0vMOBpFyfJkXtAnbRMgXjxxiO91yXTI2hbdVlAmOER1u8QemtF5PoKwZzaAjGBC5S0ARNtxZcWInGciGgtWJVVcyU6nJv3pa2T8jNvtcp8X7j+Il6j6Sju02L/f+S9MvAoGfgG6C5cInNIBEt7+mpYYV/6Mi9Nnj+8/Cq3eAMdTTo7XIzbFpeInzpVN2lAxPockRoAVj+odYO3CIBnzJ7mcA7JqtNk76vaWKasocMk9YS0Z+43o/Z5pZPwXvUv++UUv5fGRcsnIHEeQc+XJlSqRVoaLDo3mNRV6jp5GzJW2BZx3KkuLbohcmfBdr6c8ehGvHXhPm4k2jq9UNYvG9Gy58+1GqdhIYWbRc0Haid8H7UvvdkjA+Yul2rLj4fSTJ6yJ4f6xFAsFY7wIJthpik+dQO9lqPglo9DY30gEOXs3miuJmdmFtBoYlzxti4JBGwxXPwP3rtu6rY1JEOFsh1WmSEGE6Df2l9wtUQ0WAAD6bWgCxMiiRRv7TegxSeMtGn5QKuPC5lFuvzZvtJy1rR8WQwT7lVdHz32xLP2Rs4dayQPh08x3GsuI54d2kti2rcaSltGLRAOuODWc8KjYsPS6Ku4aN2NoQB5H9TEbHy2fsUNpNPMbCY54lH5bkgJtO4WmulnAHEApZG07u8G+Kk3a15npXemWgUW3N9gGtJ2XmieendXqS3RK1ZUYDsnAWW2jCZkjGB6jANBgkrBgEEAYI3EQIxADATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGEAYgBjAGYAOABhADUAOQAtAGYAZQAzADIALQA0AGIAZgA0AC0AYQBiAGMAZgAtADkAOAA3AGIANwBmADgANwAzADEANgBjMGsGCSsGAQQBgjcRATFeHlwATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByACAAdgAxAC4AMDCCA38GCSqGSIb3DQEHBqCCA3AwggNsAgEAMIIDZQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIbQcNiyMGeL4CAgfQgIIDOPSSP6SqJGYsXCPWCMQU0TqdqT55fauuadduHaAlQpyN0MVYdu9QguLqMaJjxWa8Coy3K7LAOcqJ4S8FWV2SrpTuNHPv7vrtZfYhltGl+vW8rIrogeGTV4T/45oc5605HSiyItOWX8vHYKnAJkRMW4ICZXgY3dZVb+fr6yPIRFvMywqzwkViVOJIKjZN2lsAQ0xlLU0Fu/va9uxADwI2ZUKfo+6nX6bITkLvUSJoNCvZ5e7UITasxC4ZauHdMZch38N7BPH2usrAQfr3omYcScFzSeN2onhE1JBURCPDQa8+CGiWMm6mxboUOIcUGasaDqYQ8pSAgZZqQf8lU0uH4FP/z/5Dd7PniDHjvqlwYa+vB6flgtrwh6jYFeTKluhkucLrfzusFR52kHpg8K4GaUL8MhvlsNdd8iHSFjfyOdXRpY9re+B8X9Eorx0Z3xsSsVWaCwmI+Spq+BZ5CSXVm9Um6ogeM0et8JciZS2yFLIlbl2o4U1BWblskYfj/29jm4/2UKjKzORZnpjE0O+qP4hReSrx6os9dr8sNkq/7OafZock8zXjXaOpW6bqB1V5NWMPiWiPxPxfRi1F/MQp6CPY03H7MsDALEFcF7MmtY4YpN/+FFfrrOwS19Fg0OnQzNIgFpSRywX9dxyKICt/wbvhM+RLpUN50ZekFVska+C27hJRJEZ9rSdVhOVdL1UNknuwqF1cCQQriaNsnCbeVHN3/Wgsms9+Kt+glBNyZQlU8Fk+fafcQFI5MlxyMmARVwnC70F8AScnJPPFVZIdgIrvOXCDrEh8wFgkVM/MHkaTZUF51yy3pbIZaPmNd5dsUfEvMsW2IY6esnUUxPRQUUoi5Ib8EFHdiQJrYY3ELfZRXb2I1Xd0DVhlGzogn3CXZtXR2gSAakdB0qrLpXMSJNS65SS2tVTD7SI8OpUGNRjthQIAEEROPue10geFUwarWi/3jGMG529SzwDUJ4g0ix6VtcuLIDYFNdClDTyEyeV1f70NSG2QVXPIpeF7WQ8jWK7kenGaqqna4C4FYQpQk9vJP171nUXLR2mUR11bo1N4hcVhXnJls5yo9u14BB9CqVKXeDl7M5zwMDswHzAHBgUrDgMCGgQUT6Tjuka1G4O/ZCBxO7NBR34YUYQEFLaheEdRIIuxUd25/hl5vf2SFuZuAgIH0A==",
- "password": "password"
+ "certPassword": "password"
}
}
},
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json
index 112fe6492946..55de400a9d03 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/examples/SqlTdeCertificateCreate.json
@@ -8,7 +8,7 @@
"parameters": {
"properties": {
"privateBlob": "MIIJ+QIBAzCCCbUGCSqGSIb3DQEHAaCCCaYEggmiMIIJnjCCBhcGCSqGSIb3DQEHAaCCBggEggYEMIIGADCCBfwGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAgUeBd7F2KZUwICB9AEggTYSRi88/Xf0EZ9smyYDCr+jHa7a/510s19/5wjqGbLTT/CYBu2qSOhj+g9sNvjj5oWAcluaZ4XCl/oJhXlB+9q9ZYSC6pPhma7/Il+/zlZm8ZUMfgnUefpKXGj+Ilydghya2DOA0PONDGbqIJGBYC0JgtiL7WcYyA+LEiO0vXc2fZ+ccjQsHM+ePFOm6rTJ1oqE3quRC5Ls2Bv22PCmF+GWkWxqH1L5x8wR2tYfecEsx4sKMj318novQqBlJckOUPDrTT2ic6izFnDWS+zbGezSCeRkt2vjCUVDg7Aqm2bkmLVn+arA3tDZ/DBxgTwwt8prpAznDYG07WRxXMUk8Uqzmcds85jSMLSBOoRaS7GwIPprx0QwyYXd8H/go2vafuGCydRk8mA0bGLXjYWuYHAtztlGrE71a7ILqHY4XankohSAY4YF9Fc1mJcdtsuICs5vNosw1lf0VK5BR4ONCkiGFdYEKUpaUrzKpQiw3zteBN8RQs/ADKGWzaWERrkptf0pLH3/QnZvu9xwwnNWneygByPy7OVYrvgjD27x7Y/C24GyQweh75OTQN3fAvUj7IqeTVyWZGZq32AY/uUXYwASBpLbNUtUBfJ7bgyvVSZlPvcFUwDHJC1P+fSP8Vfcc9W3ec9HqVheXio7gYBEg9hZrOZwiZorl8HZJsEj5NxGccBme6hEVQRZfar5kFDHor/zmKohEAJVw8lVLkgmEuz8aqQUDSWVAcLbkfqygK/NxsR2CaC6xWroagQSRwpF8YbvqYJtAQvdkUXY9Ll4LSRcxKrWMZHgI+1Z22pyNtpy/kXLADche5CF3AVbHtzNNgn9L4GVuCW1Lqufu3U2+DEG+u53u1vraf45RS1y0IyLjTGC+8j0OTxcgUU6FrGgFny0m676v8potPrfyHvuOO511aOTe8UPBfnYyx0XHJPn8RaYGq0vMOBpFyfJkXtAnbRMgXjxxiO91yXTI2hbdVlAmOER1u8QemtF5PoKwZzaAjGBC5S0ARNtxZcWInGciGgtWJVVcyU6nJv3pa2T8jNvtcp8X7j+Il6j6Sju02L/f+S9MvAoGfgG6C5cInNIBEt7+mpYYV/6Mi9Nnj+8/Cq3eAMdTTo7XIzbFpeInzpVN2lAxPockRoAVj+odYO3CIBnzJ7mcA7JqtNk76vaWKasocMk9YS0Z+43o/Z5pZPwXvUv++UUv5fGRcsnIHEeQc+XJlSqRVoaLDo3mNRV6jp5GzJW2BZx3KkuLbohcmfBdr6c8ehGvHXhPm4k2jq9UNYvG9Gy58+1GqdhIYWbRc0Haid8H7UvvdkjA+Yul2rLj4fSTJ6yJ4f6xFAsFY7wIJthpik+dQO9lqPglo9DY30gEOXs3miuJmdmFtBoYlzxti4JBGwxXPwP3rtu6rY1JEOFsh1WmSEGE6Df2l9wtUQ0WAAD6bWgCxMiiRRv7TegxSeMtGn5QKuPC5lFuvzZvtJy1rR8WQwT7lVdHz32xLP2Rs4dayQPh08x3GsuI54d2kti2rcaSltGLRAOuODWc8KjYsPS6Ku4aN2NoQB5H9TEbHy2fsUNpNPMbCY54lH5bkgJtO4WmulnAHEApZG07u8G+Kk3a15npXemWgUW3N9gGtJ2XmieendXqS3RK1ZUYDsnAWW2jCZkjGB6jANBgkrBgEEAYI3EQIxADATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGEAYgBjAGYAOABhADUAOQAtAGYAZQAzADIALQA0AGIAZgA0AC0AYQBiAGMAZgAtADkAOAA3AGIANwBmADgANwAzADEANgBjMGsGCSsGAQQBgjcRATFeHlwATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByACAAdgAxAC4AMDCCA38GCSqGSIb3DQEHBqCCA3AwggNsAgEAMIIDZQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIbQcNiyMGeL4CAgfQgIIDOPSSP6SqJGYsXCPWCMQU0TqdqT55fauuadduHaAlQpyN0MVYdu9QguLqMaJjxWa8Coy3K7LAOcqJ4S8FWV2SrpTuNHPv7vrtZfYhltGl+vW8rIrogeGTV4T/45oc5605HSiyItOWX8vHYKnAJkRMW4ICZXgY3dZVb+fr6yPIRFvMywqzwkViVOJIKjZN2lsAQ0xlLU0Fu/va9uxADwI2ZUKfo+6nX6bITkLvUSJoNCvZ5e7UITasxC4ZauHdMZch38N7BPH2usrAQfr3omYcScFzSeN2onhE1JBURCPDQa8+CGiWMm6mxboUOIcUGasaDqYQ8pSAgZZqQf8lU0uH4FP/z/5Dd7PniDHjvqlwYa+vB6flgtrwh6jYFeTKluhkucLrfzusFR52kHpg8K4GaUL8MhvlsNdd8iHSFjfyOdXRpY9re+B8X9Eorx0Z3xsSsVWaCwmI+Spq+BZ5CSXVm9Um6ogeM0et8JciZS2yFLIlbl2o4U1BWblskYfj/29jm4/2UKjKzORZnpjE0O+qP4hReSrx6os9dr8sNkq/7OafZock8zXjXaOpW6bqB1V5NWMPiWiPxPxfRi1F/MQp6CPY03H7MsDALEFcF7MmtY4YpN/+FFfrrOwS19Fg0OnQzNIgFpSRywX9dxyKICt/wbvhM+RLpUN50ZekFVska+C27hJRJEZ9rSdVhOVdL1UNknuwqF1cCQQriaNsnCbeVHN3/Wgsms9+Kt+glBNyZQlU8Fk+fafcQFI5MlxyMmARVwnC70F8AScnJPPFVZIdgIrvOXCDrEh8wFgkVM/MHkaTZUF51yy3pbIZaPmNd5dsUfEvMsW2IY6esnUUxPRQUUoi5Ib8EFHdiQJrYY3ELfZRXb2I1Xd0DVhlGzogn3CXZtXR2gSAakdB0qrLpXMSJNS65SS2tVTD7SI8OpUGNRjthQIAEEROPue10geFUwarWi/3jGMG529SzwDUJ4g0ix6VtcuLIDYFNdClDTyEyeV1f70NSG2QVXPIpeF7WQ8jWK7kenGaqqna4C4FYQpQk9vJP171nUXLR2mUR11bo1N4hcVhXnJls5yo9u14BB9CqVKXeDl7M5zwMDswHzAHBgUrDgMCGgQUT6Tjuka1G4O/ZCBxO7NBR34YUYQEFLaheEdRIIuxUd25/hl5vf2SFuZuAgIH0A==",
- "password": "password"
+ "certPassword": "password"
}
}
},
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json
index c736b806d367..b2666f07d8fc 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json
@@ -9,7 +9,7 @@
"databaseSecurityAlertPolicyResource": {
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [
"test@microsoft.com",
"user@microsoft.com"
@@ -33,7 +33,7 @@
"kind": "V12",
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [
"test@microsoft.com",
"user@microsoft.com"
@@ -56,7 +56,7 @@
"kind": "V12",
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [
"test@microsoft.com",
"user@microsoft.com"
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json
index 9df02f18e3fd..170a7211db7e 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json
@@ -21,7 +21,7 @@
"kind": "V12",
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [],
"disabledAlerts": [],
"retentionDays": 0,
@@ -38,7 +38,7 @@
"kind": "V12",
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [],
"disabledAlerts": [],
"retentionDays": 0,
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json
index b0708e14a15f..70fc349c92be 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json
@@ -17,7 +17,7 @@
"kind": "V12",
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [
"test@microsoft.com",
"user@microsoft.com"
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json
index 38c7002c4d6b..54dede5baf88 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json
@@ -18,7 +18,7 @@
"kind": "V12",
"properties": {
"state": "Enabled",
- "emailAccountAdmins": "true",
+ "emailAccountAdmins": true,
"emailAddresses": [
"test@microsoft.com",
"user@microsoft.com"
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json
index ce98e14cb0ae..22b523a645a9 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json
@@ -6,12 +6,8 @@
"api-version": "2018-06-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
+ "200": {},
"202": {},
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json
index 7303a40a620e..eedcaf7c5b83 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseDelete.json
@@ -7,11 +7,7 @@
"api-version": "2014-04-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json
index cced7d291c92..4a26b28cc220 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportSasKey.json
@@ -16,19 +16,21 @@
},
"responses": {
"200": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
- "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
- "type": "Microsoft.Sql/servers/importExportOperationResults",
- "properties": {
- "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
- "requestType": "Export",
- "queuedTime": "3/1/2017 12:14:25 AM",
- "lastModifiedTime": "3/1/2017 12:16:33 AM",
- "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac",
- "serverName": "test",
- "databaseName": "testdb",
- "status": "Completed",
- "errorMessage": null
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
+ "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
+ "type": "Microsoft.Sql/servers/importExportOperationResults",
+ "properties": {
+ "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
+ "requestType": "Export",
+ "queuedTime": "3/1/2017 12:14:25 AM",
+ "lastModifiedTime": "3/1/2017 12:16:33 AM",
+ "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac",
+ "serverName": "test",
+ "databaseName": "testdb",
+ "status": "Completed",
+ "errorMessage": null
+ }
}
},
"202": {}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json
index 8de83c9443e1..aaa34c38a424 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseExportStorageKey.json
@@ -16,19 +16,21 @@
},
"responses": {
"200": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
- "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
- "type": "Microsoft.Sql/servers/importExportOperationResults",
- "properties": {
- "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
- "requestType": "Export",
- "queuedTime": "3/1/2017 12:14:25 AM",
- "lastModifiedTime": "3/1/2017 12:16:33 AM",
- "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac",
- "serverName": "test",
- "databaseName": "testdb",
- "status": "Completed",
- "errorMessage": null
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/importExportOperationResult/f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
+ "name": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
+ "type": "Microsoft.Sql/servers/importExportOperationResults",
+ "properties": {
+ "requestId": "f01d7bfe-7162-44e7-9350-f1c85ce83e4c",
+ "requestType": "Export",
+ "queuedTime": "3/1/2017 12:14:25 AM",
+ "lastModifiedTime": "3/1/2017 12:16:33 AM",
+ "blobUri": "https://test.blob.core.windows.net/bacpacs/test.bacpac",
+ "serverName": "test",
+ "databaseName": "testdb",
+ "status": "Completed",
+ "errorMessage": null
+ }
}
},
"202": {}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json
index 654e3b83e5df..2b2d0bb4ff68 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DisasterRecoveryConfigurationDelete.json
@@ -7,14 +7,8 @@
"api-version": "2014-04-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json
index 38d6232f13c0..da766024bcb7 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolDelete.json
@@ -7,11 +7,7 @@
"api-version": "2014-04-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json
index 9e9dfec3ea10..2399ec6304bb 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/FirewallRuleDelete.json
@@ -7,11 +7,7 @@
"api-version": "2014-04-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json
index 339eb067af4a..5b54c709b1f8 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/OperationList.json
@@ -4,1265 +4,1157 @@
},
"responses": {
"200": {
- "value": [
- {
- "name": "Microsoft.Sql/servers/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server",
- "operation": "Get server details",
- "description": "Return a list of servers in a resource group on a subscription"
- }
- },
- {
- "name": "Microsoft.Sql/servers/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server",
- "operation": "Create new or update existing server",
- "description": "Create a new server or modify properties of existing server in a resource group on a subscription"
- }
- },
- {
- "name": "Microsoft.Sql/servers/delete",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server",
- "operation": "Delete existing server",
- "description": "Delete a server and all contained databases and elastic pools"
- }
- },
- {
- "name": "Microsoft.Sql/servers/import/action",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server",
- "operation": "Create new database from DacPac",
- "description": "Create a new database on the server and deploy schema and data from a DacPac package"
- }
- },
- {
- "name": "Microsoft.Sql/servers/upgrade/action",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server",
- "operation": "Upgrade server version",
- "description": "Enable new functionality available on the latest version of server and specify databases edition conversion map"
- }
- },
- {
- "name": "Microsoft.Sql/servers/firewallRules/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Firewall Rule",
- "operation": "Get server firewall rules",
- "description": "Retrieve server firewall rule details"
- }
- },
- {
- "name": "Microsoft.Sql/servers/firewallRules/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Firewall Rule",
- "operation": "Create new or update existing server firewall rule",
- "description": "Create or update server firewall rule that controls IP address range allowed to connect to the server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/firewallRules/delete",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Firewall Rule",
- "operation": "Delete server firewall rule",
- "description": "Delete firewall rule from the server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/administrators/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "The server administrator",
- "operation": "Get server administrator",
- "description": "Retrieve server administrator details"
- }
- },
- {
- "name": "Microsoft.Sql/servers/administrators/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "The server administrator",
- "operation": "Create new or update existing server administrator",
- "description": "Create or update server administrator"
- }
- },
- {
- "name": "Microsoft.Sql/servers/administrators/delete",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "The server administrator",
- "operation": "Delete server administrator",
- "description": "Delete server administrator from the server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/administratorOperationResults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "The server administrator operation results",
- "operation": "Get server administrator operation results",
- "description": "Retrieve server administrator operation results"
- }
- },
- {
- "name": "Microsoft.Sql/servers/serviceObjectives/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Service Level Objective",
- "operation": "Get service level objectives",
- "description": "Retrieve list of service level objectives (also known as performance tiers) available on a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/restorableDroppedDatabases/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Restorable Dropped Database",
- "operation": "Get list of restorable dropped databases",
- "description": "Retrieve a list of databases that were dropped on a given server that are still within retention policy. This operation returns a list of databases and associated metadata, like date of deletion."
- }
- },
- {
- "name": "Microsoft.Sql/servers/recoverableDatabases/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Recoverable Database",
- "operation": "Get the last known database recovery point",
- "description": "This operation is used for disaster recovery of live database to restore database to last-known good backup point. It returns information about the last good backup but it doesn't actually restore the database."
- }
- },
- {
- "name": "Microsoft.Sql/servers/importExportOperationResults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Database Import Operation Result",
- "operation": "Get details about database import operation on the server",
- "description": "Return the list with details for database import operations from storage account on a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/operationResults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Upgrade Operation Result",
- "operation": "Get status of server upgrade operation",
- "description": "Operation is used to track progress of server upgrade from lower version to higher"
- }
- },
- {
- "name": "Microsoft.Sql/servers/operationResults/delete",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Upgrade Operation Result",
- "operation": "Cancel server upgrade",
- "description": "Abort server version upgrade in progress"
- }
- },
- {
- "name": "Microsoft.Sql/servers/usages/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Usage",
- "operation": "Get server usage details",
- "description": "Return server DTU quota and current DTU consumption by all databases within the server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/recommendedElasticPools/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Recommended Elastic Database Pool",
- "operation": "Get recommended elastic database pools",
- "description": "Retrieve recommendation for elastic database pools to reduce cost or improve performance based on historical resource utilization"
- }
- },
- {
- "name": "Microsoft.Sql/servers/recommendedElasticPools/databases/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Recommended Elastic Pool Databases",
- "operation": "Get recommended elastic pools databases",
- "description": "Retrieve databases that should be added into recommended elastic database pools for a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/recommendedElasticPools/metrics/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Recommended Elastic Database Pool Metrics",
- "operation": "Get recommended elastic database pools metrics",
- "description": "Retrieve metrics for recommended elastic database pools for a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/disasterRecoveryConfiguration/operationResults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Disaster Recovery Configuration Operation Results",
- "operation": "Retrieve result for Operation Results on a Disaster Recovery Configuration",
- "description": "Get Disaster Recovery Configuration Operation Results"
- }
- },
- {
- "name": "Microsoft.Sql/servers/advisors/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server advisor",
- "operation": "Get advisors for a server",
- "description": "Returns list of advisors available for the server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/advisors/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server advisor",
- "operation": "Update auto-execute status of a server advisor",
- "description": "Updates auto-execute status of an advisor on server level."
- }
- },
- {
- "name": "Microsoft.Sql/servers/advisors/recommendedActions/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Returns list of recommended actions of specified advisor for the server",
- "operation": "Get recommended actions of a server",
- "description": "Returns list of recommended actions of specified advisor for the server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/advisors/recommendedActions/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Returns list of recommended actions of specified advisor for the server",
- "operation": "Update server recommended action state.",
- "description": "Apply the recommended action on the server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPoolEstimates/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic pool estimate",
- "operation": "Get elastic pool estimates of a server",
- "description": "Returns list of elastic pool estimates already created for this server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPoolEstimates/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic pool estimate",
- "operation": "Create an elastic pool estimate.",
- "description": "Creates new elastic pool estimate for list of databases provided"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database",
- "operation": "Get server details",
- "description": "Return a list of servers in a resource group on a subscription"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database",
- "operation": "Create new or update existing server",
- "description": "Create a new server or modify properties of existing server in a resource group on a subscription"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/delete",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database",
- "operation": "Delete existing server",
- "description": "Delete a server and all contained databases and elastic pools"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/export/action",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database",
- "operation": "Create new database from DacPac",
- "description": "Create a new database on the server and deploy schema and data from a DacPac package"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/usages/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Usage",
- "operation": "Get database usage details",
- "description": "Return database maximum size that can be reached and current size occupied by data"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/operationResults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Operation Result",
- "operation": "Get status of database operation",
- "description": "Operation is used to track progress of long running database operation, such as scale."
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/importExportOperationResults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Import/Export Operation Result",
- "operation": "Get details about database import or export operation on the server",
- "description": "Return details about database import or export operation from DacPac located in storage account"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/replicationLinks/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Replication Link",
- "operation": "Get database replication links",
- "description": "Return details about replication links established for a particular database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/replicationLinks/delete",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Replication Link",
- "operation": "Force-terminate the replication relationship",
- "description": "Terminate the replication relationship forcefully and with potential data loss"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/replicationLinks/unlink/action",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Replication Link",
- "operation": "Terminate the replication relationship",
- "description": "Terminate the replication relationship forcefully or after synchronizing with the partner"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/replicationLinks/failover/action",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Replication Link",
- "operation": "Failover replication relationship after synchronizing",
- "description": "Failover after synchronizing all changes from the primary, making this database into the replication relationship's primary and making the remote primary into a secondary"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/replicationLinks/forceFailoverAllowDataLoss/action",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Replication Link",
- "operation": "Failover replication relationship immediately",
- "description": "Failover immediately with potential data loss, making this database into the replication relationship's primary and making the remote primary into a secondary"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/replicationLinks/updateReplicationMode/action",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Replication Link",
- "operation": "Update replication mode for link",
- "description": "Update replication mode for link to synchronous or asynchronous mode"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/replicationLinks/operationResults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Replication Link Operation Result",
- "operation": "Get status of replication link operations",
- "description": "Get status of long-running operations on database replication links"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/metricDefinitions/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Metric Definition",
- "operation": "Get database metric definitions",
- "description": "Return types of metrics that are available for databases"
- },
- "properties": {
- "serviceSpecification": {
- "metricSpecifications": [
- {
- "name": "cpu_percent",
- "displayName": "CPU percentage",
- "displayDescription": "CPU percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "physical_data_read_percent",
- "displayName": "Data IO percentage",
- "displayDescription": "Data IO percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "log_write_percent",
- "displayName": "Log IO percentage",
- "displayDescription": "Log IO percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "metricFilterPattern": "^((?!datawarehouse).)*$",
- "fillGapWithZero": true
- },
- {
- "name": "dtu_consumption_percent",
- "displayName": "DTU percentage",
- "displayDescription": "DTU percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "metricFilterPattern": "^((?!datawarehouse).)*$",
- "fillGapWithZero": true
- },
- {
- "name": "storage",
- "displayName": "Total database size",
- "displayDescription": "Total database size",
- "unit": "Bytes",
- "aggregationType": "Maximum"
- },
- {
- "name": "connection_successful",
- "displayName": "Successful Connections",
- "displayDescription": "Successful Connections",
- "unit": "Count",
- "aggregationType": "Total",
- "fillGapWithZero": true
- },
- {
- "name": "connection_failed",
- "displayName": "Failed Connections",
- "displayDescription": "Failed Connections",
- "unit": "Count",
- "aggregationType": "Total",
- "fillGapWithZero": true
- },
- {
- "name": "blocked_by_firewall",
- "displayName": "Blocked by Firewall",
- "displayDescription": "Blocked by Firewall",
- "unit": "Count",
- "aggregationType": "Total",
- "fillGapWithZero": true
- },
- {
- "name": "deadlock",
- "displayName": "Deadlocks",
- "displayDescription": "Deadlocks",
- "unit": "Count",
- "aggregationType": "Total",
- "metricFilterPattern": "^((?!datawarehouse).)*$",
- "fillGapWithZero": true
- },
- {
- "name": "storage_percent",
- "displayName": "Database size percentage",
- "displayDescription": "Database size percentage",
- "unit": "Percent",
- "aggregationType": "Maximum",
- "metricFilterPattern": "^((?!datawarehouse).)*$"
- },
- {
- "name": "xtp_storage_percent",
- "displayName": "In-Memory OLTP storage percent",
- "displayDescription": "In-Memory OLTP storage percent",
- "unit": "Percent",
- "aggregationType": "Average",
- "metricFilterPattern": "^((?!datawarehouse).)*$",
- "fillGapWithZero": true
- },
- {
- "name": "workers_percent",
- "displayName": "Workers percentage",
- "displayDescription": "Workers percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "metricFilterPattern": "^((?!datawarehouse).)*$",
- "fillGapWithZero": true
- },
- {
- "name": "sessions_percent",
- "displayName": "Sessions percentage",
- "displayDescription": "Sessions percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "metricFilterPattern": "^((?!datawarehouse).)*$",
- "fillGapWithZero": true
- },
- {
- "name": "dtu_limit",
- "displayName": "DTU Limit",
- "displayDescription": "DTU Limit",
- "unit": "Count",
- "aggregationType": "Average",
- "metricFilterPattern": "^((?!datawarehouse).)*$"
- },
- {
- "name": "dtu_used",
- "displayName": "DTU used",
- "displayDescription": "DTU used",
- "unit": "Count",
- "aggregationType": "Average",
- "metricFilterPattern": "^((?!datawarehouse).)*$",
- "fillGapWithZero": true
- },
- {
- "name": "dwu_limit",
- "displayName": "DWU limit",
- "displayDescription": "DWU limit",
- "unit": "Count",
- "aggregationType": "Maximum",
- "metricFilterPattern": ".*datawarehouse.*$"
- },
- {
- "name": "dwu_consumption_percent",
- "displayName": "DWU percentage",
- "displayDescription": "DWU percentage",
- "unit": "Percent",
- "aggregationType": "Maximum",
- "metricFilterPattern": ".*datawarehouse.*$",
- "fillGapWithZero": true
- },
- {
- "name": "dwu_used",
- "displayName": "DWU used",
- "displayDescription": "DWU used",
- "unit": "Count",
- "aggregationType": "Maximum",
- "metricFilterPattern": ".*datawarehouse.*$",
- "fillGapWithZero": true
- }
- ]
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Sql/servers/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server",
+ "operation": "Get server details"
}
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/metrics/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Metric",
- "operation": "Get database resource consumption metrics",
- "description": "Return database resource utilization metrics"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Diagnostic Settings",
- "operation": "Read diagnostic setting",
- "description": "Gets the diagnostic setting for the resource"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Diagnostic Settings",
- "operation": "Write diagnostic setting",
- "description": "Creates or updates the diagnostic setting for the resource"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/logDefinitions/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "The log definition of databases",
- "operation": "Read databases log definitions",
- "description": "Gets the available logs for databases"
- },
- "properties": {
- "serviceSpecification": {
- "logSpecifications": [
- {
- "name": "QueryStore",
- "displayName": "Query Store",
- "blobDuration": "PT1H"
- }
- ]
+ },
+ {
+ "name": "Microsoft.Sql/servers/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server",
+ "operation": "Create new or update existing server"
}
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/missingindexes/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Index Advisor",
- "operation": "Get recommended database indexes",
- "description": "Return suggestions about database indexes to create, modify or delete in order to improve query performance"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/missingindexes/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Index Advisor",
- "operation": "Apply recommended database index",
- "description": "Use database index recommendation in a particular database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Recommended Index",
- "operation": "Get list of index recommendations",
- "description": "Retrieve list of index recommendations on a database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Recommended Index",
- "operation": "Update Recommended Index State",
- "description": "Apply index recommendation"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/schemas/tables/columns/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database table column",
- "operation": "Get columns",
- "description": "Retrieve list of columns of a table"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/queryStore/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Query Store settings",
- "operation": "Get Query Store settings",
- "description": "Returns current values of Query Store settings for the database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/queryStore/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Query Store settings",
- "operation": "Update Query Store settings",
- "description": "Updates Query Store setting for the database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/topQueries/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Top Queries",
- "operation": "Get Top Queries for the database",
- "description": "Returns aggregated runtime statistics for selected query in selected time period"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/topQueries/statistics/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Top Queries Statistics",
- "operation": "Get Database Top Queries statistics",
- "description": "Returns aggregated runtime statistics for selected query in selected time period"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/topQueries/queryText/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Top Queries query text",
- "operation": "Get Database Top Queries query text",
- "description": "Returns the Transact-SQL text for selected query ID"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/serviceTierAdvisors/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Service Tier Advisor",
- "operation": "Get recommended database performance level",
- "description": "Return suggestion about scaling database up or down based on query execution statistics to improve performance or reduce cost"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Transparent Data Encryption",
- "operation": "Get database transparent data encryption details",
- "description": "Retrieve status and details of transparent data encryption security feature for a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Transparent Data Encryption",
- "operation": "Change transparent data encryption state",
- "description": "Enable or disable transparent data encryption for a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/operationResults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Transparent Data Encryption",
- "operation": "Get database transparent data encryption details",
- "description": "Retrieve status and details of transparent data encryption security feature for a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/auditingPolicies/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Table Auditing Policy",
- "operation": "Get database table auditing policy",
- "description": "Retrieve details of the table auditing policy configured on a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/auditingPolicies/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Table Auditing Policy",
- "operation": "Set database table auditing policy",
- "description": "Change the table auditing policy for a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/auditingPolicies/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Default Server Table Auditing Policy",
- "operation": "Get default server table auditing policy",
- "description": "Retrieve details of the default server table auditing policy configured on a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/auditingPolicies/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Default Server Table Auditing Policy",
- "operation": "Set default server table auditing policy",
- "description": "Change the default server table auditing for a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/auditingSettings/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Blob Auditing Policy",
- "operation": "Get database blob auditing policy",
- "description": "Retrieve details of the blob auditing policy configured on a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/auditingSettings/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Blob Auditing Policy",
- "operation": "Set database blob auditing policy",
- "description": "Change the blob auditing policy for a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/auditingSettings/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Blob Auditing Policy",
- "operation": "Get server blob auditing policy",
- "description": "Retrieve details of the server blob auditing policy configured on a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/auditingSettings/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Blob Auditing Policy",
- "operation": "Set server blob auditing policy",
- "description": "Change the server blob auditing for a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/auditingSettings/operationResults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Blob Auditing Operation Results",
- "operation": "Get server blob auditing operation results",
- "description": "Retrieve result of the server blob auditing policy Set operation"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/auditRecords/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Blob Audit Records",
- "operation": "Get database blob audit records",
- "description": "Retrieve the database blob audit records"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/connectionPolicies/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Connection Policy",
- "operation": "Get database connection policy",
- "description": "Retrieve details of the connection policy configured on a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/connectionPolicies/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Connection Policy",
- "operation": "Set database connection policy",
- "description": "Change connection policy for a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Data Masking Policy",
- "operation": "Get database data masking policy",
- "description": "Retrieve details of the data masking policy configured on a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Data Masking Policy",
- "operation": "Set database data masking policy",
- "description": "Change data masking policy for a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Data Masking Policy Rule",
- "operation": "Get database data masking policy rule",
- "description": "Retrieve details of the data masking policy rule configured on a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Data Masking Policy Rule",
- "operation": "Set database data masking policy rule",
- "description": "Change data masking policy rule for a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Threat Detection Policy",
- "operation": "Get database threat detection policy",
- "description": "Retrieve details of the threat detection policy configured on a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database Threat Detection Policy",
- "operation": "Set threat detection auditing policy",
- "description": "Change the threat detection policy for a given database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/securityAlertPolicies/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Threat Detection Policy",
- "operation": "Get server threat detection policy",
- "description": "Retrieve details of the server threat detection policy configured on a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/securityAlertPolicies/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Threat Detection Policy",
- "operation": "Set server threat detection policy",
- "description": "Change the server threat detection for a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/securityAlertPolicies/operationResults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Server Threat Detection Operation Results",
- "operation": "Get server Threat Detection operation results",
- "description": "Retrieve results of the server Threat Detection policy Set operation"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/VulnerabilityAssessmentScans/action",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Vulnerability Assessment Database Scan",
- "operation": "Execute vulnerability assessment database scan",
- "description": "Execute vulnerability assessment database scan."
- }
- },
- {
- "name": "Microsoft.Sql/servers/VulnerabilityAssessmentScans/action",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Vulnerability Assessment Server Scan",
- "operation": "Execute vulnerability assessment server scan",
- "description": "Execute vulnerability assessment server scan"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/advisors/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database advisor",
- "operation": "Get advisors for a database",
- "description": "Returns list of advisors available for the database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/advisors/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database advisor",
- "operation": "Update auto-execute status of a database advisor",
- "description": "Update auto-execute status of an advisor on database level."
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database recommended action",
- "operation": "Get recommended actions for a database",
- "description": "Returns list of recommended actions of specified advisor for the database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database recommended action",
- "operation": "Update database recommended action state.",
- "description": "Apply the recommended action on the database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic Database Pool",
- "operation": "Get elastic database pool details",
- "description": "Retrieve details of elastic database pool on a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic Database Pool",
- "operation": "Create new or update existing elastic database pool",
- "description": "Create a new or change properties of existing elastic database pool"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/delete",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic Database Pool",
- "operation": "Delete elastic database pool",
- "description": "Delete existing elastic database pool"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/databases/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database",
- "operation": "Get elastic pool databases",
- "description": "Retrieve list and details of databases that are part of elastic database pool on a given server"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/elasticPoolActivity/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic Database Pool Activity",
- "operation": "Get elastic database pool activity",
- "description": "Retrieve activities and details on a given elastic database pool"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/elasticPoolDatabaseActivity/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic Pool Database Activity",
- "operation": "Get elastic pool database activity",
- "description": "Retrieve activities and details on a given database that is part of elastic database pool"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/metricDefinitions/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic Database Pool Metric Definition",
- "operation": "Get elastic pool metric definitions",
- "description": "Return types of metrics that are available for elastic database pools"
- },
- "properties": {
- "serviceSpecification": {
- "metricSpecifications": [
- {
- "name": "cpu_percent",
- "displayName": "CPU percentage",
- "displayDescription": "CPU percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "physical_data_read_percent",
- "displayName": "Data IO percentage",
- "displayDescription": "Data IO percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "log_write_percent",
- "displayName": "Log IO percentage",
- "displayDescription": "Log IO percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "dtu_consumption_percent",
- "displayName": "DTU percentage",
- "displayDescription": "DTU percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "storage_percent",
- "displayName": "Storage percentage",
- "displayDescription": "Storage percentage",
- "unit": "Percent",
- "aggregationType": "Average"
- },
- {
- "name": "workers_percent",
- "displayName": "Workers percentage",
- "displayDescription": "Workers percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "sessions_percent",
- "displayName": "Sessions percentage",
- "displayDescription": "Sessions percentage",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "eDTU_limit",
- "displayName": "eDTU limit",
- "displayDescription": "eDTU limit",
- "unit": "Count",
- "aggregationType": "Average"
- },
- {
- "name": "storage_limit",
- "displayName": "Storage limit",
- "displayDescription": "Storage limit",
- "unit": "Bytes",
- "aggregationType": "Average"
- },
- {
- "name": "eDTU_used",
- "displayName": "eDTU used",
- "displayDescription": "eDTU used",
- "unit": "Count",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "storage_used",
- "displayName": "Storage used",
- "displayDescription": "Storage used",
- "unit": "Bytes",
- "aggregationType": "Average"
- },
- {
- "name": "xtp_storage_percent",
- "displayName": "In-Memory OLTP storage percent",
- "displayDescription": "In-Memory OLTP storage percent",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- }
- ]
+ },
+ {
+ "name": "Microsoft.Sql/servers/delete",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server",
+ "operation": "Delete existing server"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/import/action",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server",
+ "operation": "Create new database from DacPac"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/upgrade/action",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server",
+ "operation": "Upgrade server version"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/firewallRules/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Firewall Rule",
+ "operation": "Get server firewall rules"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/firewallRules/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Firewall Rule",
+ "operation": "Create new or update existing server firewall rule"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/firewallRules/delete",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Firewall Rule",
+ "operation": "Delete server firewall rule"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/administrators/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "The server administrator",
+ "operation": "Get server administrator"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/administrators/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "The server administrator",
+ "operation": "Create new or update existing server administrator"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/administrators/delete",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "The server administrator",
+ "operation": "Delete server administrator"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/administratorOperationResults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "The server administrator operation results",
+ "operation": "Get server administrator operation results"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/serviceObjectives/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Service Level Objective",
+ "operation": "Get service level objectives"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/restorableDroppedDatabases/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Restorable Dropped Database",
+ "operation": "Get list of restorable dropped databases"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/recoverableDatabases/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Recoverable Database",
+ "operation": "Get the last known database recovery point"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/importExportOperationResults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Database Import Operation Result",
+ "operation": "Get details about database import operation on the server"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/operationResults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Upgrade Operation Result",
+ "operation": "Get status of server upgrade operation"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/operationResults/delete",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Upgrade Operation Result",
+ "operation": "Cancel server upgrade"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/usages/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Usage",
+ "operation": "Get server usage details"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/recommendedElasticPools/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Recommended Elastic Database Pool",
+ "operation": "Get recommended elastic database pools"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/recommendedElasticPools/databases/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Recommended Elastic Pool Databases",
+ "operation": "Get recommended elastic pools databases"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/recommendedElasticPools/metrics/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Recommended Elastic Database Pool Metrics",
+ "operation": "Get recommended elastic database pools metrics"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/disasterRecoveryConfiguration/operationResults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Disaster Recovery Configuration Operation Results",
+ "operation": "Retrieve result for Operation Results on a Disaster Recovery Configuration"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/advisors/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server advisor",
+ "operation": "Get advisors for a server"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/advisors/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server advisor",
+ "operation": "Update auto-execute status of a server advisor"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/advisors/recommendedActions/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Returns list of recommended actions of specified advisor for the server",
+ "operation": "Get recommended actions of a server"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/advisors/recommendedActions/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Returns list of recommended actions of specified advisor for the server",
+ "operation": "Update server recommended action state."
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPoolEstimates/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic pool estimate",
+ "operation": "Get elastic pool estimates of a server"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPoolEstimates/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic pool estimate",
+ "operation": "Create an elastic pool estimate."
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database",
+ "operation": "Get server details"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database",
+ "operation": "Create new or update existing server"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/delete",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database",
+ "operation": "Delete existing server"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/export/action",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database",
+ "operation": "Create new database from DacPac"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/usages/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Usage",
+ "operation": "Get database usage details"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/operationResults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Operation Result",
+ "operation": "Get status of database operation"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/importExportOperationResults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Import/Export Operation Result",
+ "operation": "Get details about database import or export operation on the server"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/replicationLinks/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Replication Link",
+ "operation": "Get database replication links"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/replicationLinks/delete",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Replication Link",
+ "operation": "Force-terminate the replication relationship"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/replicationLinks/unlink/action",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Replication Link",
+ "operation": "Terminate the replication relationship"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/replicationLinks/failover/action",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Replication Link",
+ "operation": "Failover replication relationship after synchronizing"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/replicationLinks/forceFailoverAllowDataLoss/action",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Replication Link",
+ "operation": "Failover replication relationship immediately"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/replicationLinks/updateReplicationMode/action",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Replication Link",
+ "operation": "Update replication mode for link"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/replicationLinks/operationResults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Replication Link Operation Result",
+ "operation": "Get status of replication link operations"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Metric Definition",
+ "operation": "Get database metric definitions"
+ },
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "cpu_percent",
+ "displayName": "CPU percentage",
+ "displayDescription": "CPU percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "physical_data_read_percent",
+ "displayName": "Data IO percentage",
+ "displayDescription": "Data IO percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "log_write_percent",
+ "displayName": "Log IO percentage",
+ "displayDescription": "Log IO percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "metricFilterPattern": "^((?!datawarehouse).)*$",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "dtu_consumption_percent",
+ "displayName": "DTU percentage",
+ "displayDescription": "DTU percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "metricFilterPattern": "^((?!datawarehouse).)*$",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "storage",
+ "displayName": "Total database size",
+ "displayDescription": "Total database size",
+ "unit": "Bytes",
+ "aggregationType": "Maximum"
+ },
+ {
+ "name": "connection_successful",
+ "displayName": "Successful Connections",
+ "displayDescription": "Successful Connections",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "connection_failed",
+ "displayName": "Failed Connections",
+ "displayDescription": "Failed Connections",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "blocked_by_firewall",
+ "displayName": "Blocked by Firewall",
+ "displayDescription": "Blocked by Firewall",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "deadlock",
+ "displayName": "Deadlocks",
+ "displayDescription": "Deadlocks",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "metricFilterPattern": "^((?!datawarehouse).)*$",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "storage_percent",
+ "displayName": "Database size percentage",
+ "displayDescription": "Database size percentage",
+ "unit": "Percent",
+ "aggregationType": "Maximum",
+ "metricFilterPattern": "^((?!datawarehouse).)*$"
+ },
+ {
+ "name": "xtp_storage_percent",
+ "displayName": "In-Memory OLTP storage percent",
+ "displayDescription": "In-Memory OLTP storage percent",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "metricFilterPattern": "^((?!datawarehouse).)*$",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "workers_percent",
+ "displayName": "Workers percentage",
+ "displayDescription": "Workers percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "metricFilterPattern": "^((?!datawarehouse).)*$",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "sessions_percent",
+ "displayName": "Sessions percentage",
+ "displayDescription": "Sessions percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "metricFilterPattern": "^((?!datawarehouse).)*$",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "dtu_limit",
+ "displayName": "DTU Limit",
+ "displayDescription": "DTU Limit",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "metricFilterPattern": "^((?!datawarehouse).)*$"
+ },
+ {
+ "name": "dtu_used",
+ "displayName": "DTU used",
+ "displayDescription": "DTU used",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "metricFilterPattern": "^((?!datawarehouse).)*$",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "dwu_limit",
+ "displayName": "DWU limit",
+ "displayDescription": "DWU limit",
+ "unit": "Count",
+ "aggregationType": "Maximum",
+ "metricFilterPattern": ".*datawarehouse.*$"
+ },
+ {
+ "name": "dwu_consumption_percent",
+ "displayName": "DWU percentage",
+ "displayDescription": "DWU percentage",
+ "unit": "Percent",
+ "aggregationType": "Maximum",
+ "metricFilterPattern": ".*datawarehouse.*$",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "dwu_used",
+ "displayName": "DWU used",
+ "displayDescription": "DWU used",
+ "unit": "Count",
+ "aggregationType": "Maximum",
+ "metricFilterPattern": ".*datawarehouse.*$",
+ "fillGapWithZero": true
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/metrics/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Metric",
+ "operation": "Get database resource consumption metrics"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Diagnostic Settings",
+ "operation": "Read diagnostic setting"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Diagnostic Settings",
+ "operation": "Write diagnostic setting"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/providers/Microsoft.Insights/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "The log definition of databases",
+ "operation": "Read databases log definitions"
+ },
+ "properties": {
+ "serviceSpecification": {
+ "logSpecifications": [
+ {
+ "name": "QueryStore",
+ "displayName": "Query Store",
+ "blobDuration": "PT1H"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/missingindexes/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Index Advisor",
+ "operation": "Get recommended database indexes"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/missingindexes/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Index Advisor",
+ "operation": "Apply recommended database index"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Recommended Index",
+ "operation": "Get list of index recommendations"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/schemas/tables/recommendedIndexes/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Recommended Index",
+ "operation": "Update Recommended Index State"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/schemas/tables/columns/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database table column",
+ "operation": "Get columns"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/queryStore/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Query Store settings",
+ "operation": "Get Query Store settings"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/queryStore/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Query Store settings",
+ "operation": "Update Query Store settings"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/topQueries/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Top Queries",
+ "operation": "Get Top Queries for the database"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/topQueries/statistics/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Top Queries Statistics",
+ "operation": "Get Database Top Queries statistics"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/topQueries/queryText/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Top Queries query text",
+ "operation": "Get Database Top Queries query text"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/serviceTierAdvisors/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Service Tier Advisor",
+ "operation": "Get recommended database performance level"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Transparent Data Encryption",
+ "operation": "Get database transparent data encryption details"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Transparent Data Encryption",
+ "operation": "Change transparent data encryption state"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/transparentDataEncryption/operationResults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Transparent Data Encryption",
+ "operation": "Get database transparent data encryption details"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/auditingPolicies/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Table Auditing Policy",
+ "operation": "Get database table auditing policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/auditingPolicies/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Table Auditing Policy",
+ "operation": "Set database table auditing policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/auditingPolicies/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Default Server Table Auditing Policy",
+ "operation": "Get default server table auditing policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/auditingPolicies/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Default Server Table Auditing Policy",
+ "operation": "Set default server table auditing policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/auditingSettings/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Blob Auditing Policy",
+ "operation": "Get database blob auditing policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/auditingSettings/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Blob Auditing Policy",
+ "operation": "Set database blob auditing policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/auditingSettings/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Blob Auditing Policy",
+ "operation": "Get server blob auditing policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/auditingSettings/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Blob Auditing Policy",
+ "operation": "Set server blob auditing policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/auditingSettings/operationResults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Blob Auditing Operation Results",
+ "operation": "Get server blob auditing operation results"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/auditRecords/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Blob Audit Records",
+ "operation": "Get database blob audit records"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/connectionPolicies/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Connection Policy",
+ "operation": "Get database connection policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/connectionPolicies/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Connection Policy",
+ "operation": "Set database connection policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Data Masking Policy",
+ "operation": "Get database data masking policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Data Masking Policy",
+ "operation": "Set database data masking policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Data Masking Policy Rule",
+ "operation": "Get database data masking policy rule"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Data Masking Policy Rule",
+ "operation": "Set database data masking policy rule"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Threat Detection Policy",
+ "operation": "Get database threat detection policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/securityAlertPolicies/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database Threat Detection Policy",
+ "operation": "Set threat detection auditing policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/securityAlertPolicies/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Threat Detection Policy",
+ "operation": "Get server threat detection policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/securityAlertPolicies/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Threat Detection Policy",
+ "operation": "Set server threat detection policy"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/securityAlertPolicies/operationResults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Server Threat Detection Operation Results",
+ "operation": "Get server Threat Detection operation results"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/VulnerabilityAssessmentScans/action",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Vulnerability Assessment Database Scan",
+ "operation": "Execute vulnerability assessment database scan"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/VulnerabilityAssessmentScans/action",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Vulnerability Assessment Server Scan",
+ "operation": "Execute vulnerability assessment server scan"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/advisors/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database advisor",
+ "operation": "Get advisors for a database"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/advisors/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database advisor",
+ "operation": "Update auto-execute status of a database advisor"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database recommended action",
+ "operation": "Get recommended actions for a database"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/advisors/recommendedActions/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database recommended action",
+ "operation": "Update database recommended action state."
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic Database Pool",
+ "operation": "Get elastic database pool details"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic Database Pool",
+ "operation": "Create new or update existing elastic database pool"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/delete",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic Database Pool",
+ "operation": "Delete elastic database pool"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/databases/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database",
+ "operation": "Get elastic pool databases"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/elasticPoolActivity/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic Database Pool Activity",
+ "operation": "Get elastic database pool activity"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/elasticPoolDatabaseActivity/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic Pool Database Activity",
+ "operation": "Get elastic pool database activity"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic Database Pool Metric Definition",
+ "operation": "Get elastic pool metric definitions"
+ },
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "cpu_percent",
+ "displayName": "CPU percentage",
+ "displayDescription": "CPU percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "physical_data_read_percent",
+ "displayName": "Data IO percentage",
+ "displayDescription": "Data IO percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "log_write_percent",
+ "displayName": "Log IO percentage",
+ "displayDescription": "Log IO percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "dtu_consumption_percent",
+ "displayName": "DTU percentage",
+ "displayDescription": "DTU percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "storage_percent",
+ "displayName": "Storage percentage",
+ "displayDescription": "Storage percentage",
+ "unit": "Percent",
+ "aggregationType": "Average"
+ },
+ {
+ "name": "workers_percent",
+ "displayName": "Workers percentage",
+ "displayDescription": "Workers percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "sessions_percent",
+ "displayName": "Sessions percentage",
+ "displayDescription": "Sessions percentage",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "eDTU_limit",
+ "displayName": "eDTU limit",
+ "displayDescription": "eDTU limit",
+ "unit": "Count",
+ "aggregationType": "Average"
+ },
+ {
+ "name": "storage_limit",
+ "displayName": "Storage limit",
+ "displayDescription": "Storage limit",
+ "unit": "Bytes",
+ "aggregationType": "Average"
+ },
+ {
+ "name": "eDTU_used",
+ "displayName": "eDTU used",
+ "displayDescription": "eDTU used",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "fillGapWithZero": true
+ },
+ {
+ "name": "storage_used",
+ "displayName": "Storage used",
+ "displayDescription": "Storage used",
+ "unit": "Bytes",
+ "aggregationType": "Average"
+ },
+ {
+ "name": "xtp_storage_percent",
+ "displayName": "In-Memory OLTP storage percent",
+ "displayDescription": "In-Memory OLTP storage percent",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "fillGapWithZero": true
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/metrics/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic Database Pool Metric",
+ "operation": "Get elastic pool resource consumption metrics"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/operationResults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic Database Pool Operation Result",
+ "operation": "Get elastic database pool operation result"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/advisors/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic pool advisor",
+ "operation": "Get advisors for an elastic pool"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/advisors/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic pool advisor",
+ "operation": "Update auto-execute status of a elastic pool advisor"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic pool recommended action",
+ "operation": "Get recommended actions for an elastic pool"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic pool recommended action",
+ "operation": "Update elastic pool recommended action state."
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic Database Pool Diagnostic Settings",
+ "operation": "Read diagnostic setting"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Elastic Database Pool Diagnostic Settings",
+ "operation": "Write diagnostic setting"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/pause/action",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database",
+ "operation": "Pause a database"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/resume/action",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Database",
+ "operation": "Resume a database"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Data Warehouse Query",
+ "operation": "Get details about data warehouse query"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/dataWarehouseQuerySteps/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "Data Warehouse Query Step",
+ "operation": "Get details about data warehouse query step"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/read",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "A backup long term retention vault",
+ "operation": "Read a backup long term retention vault"
+ }
+ },
+ {
+ "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/write",
+ "display": {
+ "provider": "Microsoft SQL Database",
+ "resource": "A backup long term retention vault",
+ "operation": "This operation is used to register a backup long term retention vault to a server."
}
}
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/metrics/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic Database Pool Metric",
- "operation": "Get elastic pool resource consumption metrics",
- "description": "Return elastic database pool resource utilization metrics"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/operationResults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic Database Pool Operation Result",
- "operation": "Get elastic database pool operation result",
- "description": "Retrieve details on a given elastic database pool operation"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/advisors/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic pool advisor",
- "operation": "Get advisors for an elastic pool",
- "description": "Returns list of advisors available for the elastic pool"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/advisors/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic pool advisor",
- "operation": "Update auto-execute status of a elastic pool advisor",
- "description": "Update auto-execute status of an advisor on elastic pool level."
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic pool recommended action",
- "operation": "Get recommended actions for an elastic pool",
- "description": "Returns list of recommended actions of specified advisor for the elastic pool"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/advisors/recommendedActions/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic pool recommended action",
- "operation": "Update elastic pool recommended action state.",
- "description": "Apply the recommended action on the elastic pool"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic Database Pool Diagnostic Settings",
- "operation": "Read diagnostic setting",
- "description": "Gets the diagnostic setting for the resource"
- }
- },
- {
- "name": "Microsoft.Sql/servers/elasticPools/providers/Microsoft.Insights/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Elastic Database Pool Diagnostic Settings",
- "operation": "Write diagnostic setting",
- "description": "Creates or updates the diagnostic setting for the resource"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/pause/action",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database",
- "operation": "Pause a database",
- "description": "Pause a DataWarehouse edition database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/resume/action",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Database",
- "operation": "Resume a database",
- "description": "Resume a DataWarehouse edition database"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Data Warehouse Query",
- "operation": "Get details about data warehouse query",
- "description": "Returns the data warehouse distribution query information for selected query ID"
- }
- },
- {
- "name": "Microsoft.Sql/servers/databases/dataWarehouseQueries/dataWarehouseQuerySteps/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "Data Warehouse Query Step",
- "operation": "Get details about data warehouse query step",
- "description": "Returns the distributed query step information of data warehouse query for selected step ID"
- }
- },
- {
- "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/read",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "A backup long term retention vault",
- "operation": "Read a backup long term retention vault",
- "description": "This operation is used to get a backup long term retention vault. It returns information about the vault registered to this server."
- }
- },
- {
- "name": "Microsoft.Sql/servers/backupLongTermRetentionVaults/write",
- "display": {
- "provider": "Microsoft SQL Database",
- "resource": "A backup long term retention vault",
- "operation": "This operation is used to register a backup long term retention vault to a server.",
- "description": "Register a backup long term retention vault"
- }
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json
index 6e2a1d6b3da8..c7830d7319e5 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueriesList.json
@@ -8,61 +8,63 @@
},
"responses": {
"200": {
- "value": [
- {
- "type": "Microsoft.Sql/servers/databases/topQueries",
- "numberOfTopQueries": 1,
- "aggregationFunction": "sum",
- "executionType": "any",
- "observedMetric": "cpu",
- "observationStartTime": "2017-07-11T16:21:54.0916567Z",
- "observationEndTime": "2017-07-12T16:21:54.0916567Z",
- "intervalType": "PT1H",
- "queries": [
- {
- "queryId": "19",
- "intervals": [
- {
- "intervalStartTime": "2017-07-11T16:00:00",
- "executionCount": 12,
- "metrics": [
- {
- "name": "cpu",
- "displayName": "Cpu",
- "unit": "percentage",
- "value": 0.000763888888888889
- },
- {
- "name": "io",
- "displayName": "Physical Io Reads",
- "unit": "percentage",
- "value": 0.0
- },
- {
- "name": "logIo",
- "displayName": "Log Writes",
- "unit": "percentage",
- "value": 0.0
- },
- {
- "name": "memory",
- "displayName": "Memory consumption",
- "unit": "KB",
- "value": 0.0
- },
- {
- "name": "duration",
- "displayName": "Query duration",
- "unit": "microseconds",
- "value": 3308.0
- }
- ]
- }
- ]
- }
- ]
- }
- ]
+ "body": {
+ "value": [
+ {
+ "type": "Microsoft.Sql/servers/databases/topQueries",
+ "numberOfTopQueries": 1,
+ "aggregationFunction": "sum",
+ "executionType": "any",
+ "observedMetric": "cpu",
+ "observationStartTime": "2017-07-11T16:21:54.0916567Z",
+ "observationEndTime": "2017-07-12T16:21:54.0916567Z",
+ "intervalType": "PT1H",
+ "queries": [
+ {
+ "queryId": "19",
+ "intervals": [
+ {
+ "intervalStartTime": "2017-07-11T16:00:00",
+ "executionCount": 12,
+ "metrics": [
+ {
+ "name": "cpu",
+ "displayName": "Cpu",
+ "unit": "percentage",
+ "value": 0.000763888888888889
+ },
+ {
+ "name": "io",
+ "displayName": "Physical Io Reads",
+ "unit": "percentage",
+ "value": 0.0
+ },
+ {
+ "name": "logIo",
+ "displayName": "Log Writes",
+ "unit": "percentage",
+ "value": 0.0
+ },
+ {
+ "name": "memory",
+ "displayName": "Memory consumption",
+ "unit": "KB",
+ "value": 0.0
+ },
+ {
+ "name": "duration",
+ "displayName": "Query duration",
+ "unit": "microseconds",
+ "value": 3308.0
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json
index d9d9174294a2..58b3f7162e4a 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryStatisticsList.json
@@ -9,49 +9,51 @@
},
"responses": {
"200": {
- "value": [
- {
- "queryId": "19",
- "intervals": [
- {
- "intervalStartTime": "2017-07-11T16:00:00",
- "executionCount": 12,
- "metrics": [
- {
- "name": "cpu",
- "displayName": "Cpu",
- "unit": "percentage",
- "value": 0.000763888888888889
- },
- {
- "name": "io",
- "displayName": "Physical Io Reads",
- "unit": "percentage",
- "value": 0.0
- },
- {
- "name": "logIo",
- "displayName": "Log Writes",
- "unit": "percentage",
- "value": 0.0
- },
- {
- "name": "memory",
- "displayName": "Memory consumption",
- "unit": "KB",
- "value": 0.0
- },
- {
- "name": "duration",
- "displayName": "Query duration",
- "unit": "microseconds",
- "value": 3308.0
- }
- ]
- }
- ]
- }
- ]
+ "body": {
+ "value": [
+ {
+ "queryId": "19",
+ "intervals": [
+ {
+ "intervalStartTime": "2017-07-11T16:00:00",
+ "executionCount": 12,
+ "metrics": [
+ {
+ "name": "cpu",
+ "displayName": "Cpu",
+ "unit": "percentage",
+ "value": 0.000763888888888889
+ },
+ {
+ "name": "io",
+ "displayName": "Physical Io Reads",
+ "unit": "percentage",
+ "value": 0.0
+ },
+ {
+ "name": "logIo",
+ "displayName": "Log Writes",
+ "unit": "percentage",
+ "value": 0.0
+ },
+ {
+ "name": "memory",
+ "displayName": "Memory consumption",
+ "unit": "KB",
+ "value": 0.0
+ },
+ {
+ "name": "duration",
+ "displayName": "Query duration",
+ "unit": "microseconds",
+ "value": 3308.0
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json
index 2b3f3dca7bee..70ec486d28c8 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/QueryTextsList.json
@@ -9,13 +9,15 @@
},
"responses": {
"200": {
- "value": [
- {
- "name": "current",
- "queryText": "select 1",
- "type": "Microsoft.Sql/servers/databases/topQueries/queryText"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "name": "current",
+ "queryText": "select 1",
+ "type": "Microsoft.Sql/servers/databases/topQueries/queryText"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json
index 8d5937450a40..ebac700be866 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ReplicationLinkDelete.json
@@ -8,11 +8,7 @@
"api-version": "2014-04-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json
index e4708fd7cd82..2490a683e709 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerDelete.json
@@ -6,11 +6,7 @@
"api-version": "2014-04-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json
index fd75558833e9..b3a7642f29d7 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json
@@ -8,16 +8,18 @@
},
"responses": {
"200": {
- "id": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d",
- "name": "29dd7459-4a7c-4e56-be22-f0adda49440d",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "System0",
- "isDefault": false,
- "isSystem": true,
- "description": null,
- "enabled": false
+ "body": {
+ "id": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/QA/providers/Microsoft.Sql/servers/nafantest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d",
+ "name": "29dd7459-4a7c-4e56-be22-f0adda49440d",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "System0",
+ "isDefault": false,
+ "isSystem": true,
+ "description": null,
+ "enabled": false
+ }
}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json
index 937dc017b5e5..1834a37f74cd 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json
@@ -7,632 +7,634 @@
},
"responses": {
"200": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7",
- "name": "26e021db-f1f9-4c98-84c6-92af8ef433d7",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "System",
- "isDefault": false,
- "isSystem": true,
- "description": null,
- "enabled": false
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d",
- "name": "29dd7459-4a7c-4e56-be22-f0adda49440d",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "System0",
- "isDefault": false,
- "isSystem": true,
- "description": null,
- "enabled": false
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/c99ac918-dbea-463f-a475-16ec020fdc12",
- "name": "c99ac918-dbea-463f-a475-16ec020fdc12",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "System1",
- "isDefault": false,
- "isSystem": true,
- "description": null,
- "enabled": false
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa",
- "name": "620323bf-2879-4807-b30d-c2e6d7b3b3aa",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "System2",
- "isDefault": false,
- "isSystem": true,
- "description": null,
- "enabled": false
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/33d0db1f-6893-4210-99f9-463fb9b496a4",
- "name": "33d0db1f-6893-4210-99f9-463fb9b496a4",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "System3",
- "isDefault": false,
- "isSystem": true,
- "description": null,
- "enabled": false
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/da24338c-a6c9-46c2-a4bf-4ac95b496ae4",
- "name": "da24338c-a6c9-46c2-a4bf-4ac95b496ae4",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "System4",
- "isDefault": false,
- "isSystem": true,
- "description": null,
- "enabled": false
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9",
- "name": "53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "System2L",
- "isDefault": false,
- "isSystem": true,
- "description": null,
- "enabled": false
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/e79cd55c-689f-48d9-bffa-0dd12c772248",
- "name": "e79cd55c-689f-48d9-bffa-0dd12c772248",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "System3L",
- "isDefault": false,
- "isSystem": true,
- "description": null,
- "enabled": false
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4b37bb6d-e004-47ac-8f7a-be56ac9fb490",
- "name": "4b37bb6d-e004-47ac-8f7a-be56ac9fb490",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "System4L",
- "isDefault": false,
- "isSystem": true,
- "description": null,
- "enabled": false
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/6aa3bb3e-7f50-40d6-95ef-5497c30d99d8",
- "name": "6aa3bb3e-7f50-40d6-95ef-5497c30d99d8",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "Free",
- "isDefault": true,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c",
- "name": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "Basic",
- "isDefault": true,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f1173c43-91bd-4aaa-973c-54e79e15235b",
- "name": "f1173c43-91bd-4aaa-973c-54e79e15235b",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "S0",
- "isDefault": true,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928",
- "name": "1b1ebd4d-d903-4baa-97f9-4ea675f5e928",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "S1",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/455330e1-00cd-488b-b5fa-177c226f28b7",
- "name": "455330e1-00cd-488b-b5fa-177c226f28b7",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "S2",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40",
- "name": "789681b8-ca10-4eb0-bdf2-e0b050601b40",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "S3",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d",
- "name": "7203483a-c4fb-4304-9e9f-17c71c904f5d",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "P1",
- "isDefault": true,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0",
- "name": "a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "P2",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc",
- "name": "afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "P4",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/43940481-9191-475a-9dba-6b505615b9aa",
- "name": "43940481-9191-475a-9dba-6b505615b9aa",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "P6",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd00d544-bbc0-4f61-ba60-cdce0c410288",
- "name": "dd00d544-bbc0-4f61-ba60-cdce0c410288",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "P11",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71",
- "name": "5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "P15",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dfdc102c-ed02-4349-9756-e227f0e43bb8",
- "name": "dfdc102c-ed02-4349-9756-e227f0e43bb8",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "PRS1",
- "isDefault": true,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a089506e-b47a-4f42-8a32-cc19af4c86fb",
- "name": "a089506e-b47a-4f42-8a32-cc19af4c86fb",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "PRS2",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/39cb8faf-cba8-4b1b-b580-1e1202f2a024",
- "name": "39cb8faf-cba8-4b1b-b580-1e1202f2a024",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "PRS4",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1e8da92e-efcd-4682-9140-bf6582120d1f",
- "name": "1e8da92e-efcd-4682-9140-bf6582120d1f",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "PRS6",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4e63cb0e-91b9-46fd-b05c-51fdd2367618",
- "name": "4e63cb0e-91b9-46fd-b05c-51fdd2367618",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW100",
- "isDefault": true,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99e78a92-d724-4e1b-857b-2be661f3d153",
- "name": "99e78a92-d724-4e1b-857b-2be661f3d153",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW200",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/284f1aff-fee7-4d3b-a211-5b8ebdd28fea",
- "name": "284f1aff-fee7-4d3b-a211-5b8ebdd28fea",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW300",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/3bdaeefe-8a9d-41d3-91c4-46ef896b19af",
- "name": "3bdaeefe-8a9d-41d3-91c4-46ef896b19af",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW400",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d",
- "name": "5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW500",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/efd65c5b-af7b-4389-9109-f6a69d6a3885",
- "name": "efd65c5b-af7b-4389-9109-f6a69d6a3885",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW600",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb",
- "name": "b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW1000",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9a7a374e-b95c-4fd5-a68e-131d60796c47",
- "name": "9a7a374e-b95c-4fd5-a68e-131d60796c47",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW1200",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b930f58e-86b5-43e0-a2da-d8bf8769c557",
- "name": "b930f58e-86b5-43e0-a2da-d8bf8769c557",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW1500",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99165ede-a5ab-4b52-b317-e391d92ec370",
- "name": "99165ede-a5ab-4b52-b317-e391d92ec370",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW2000",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/8e28c923-5cf2-43cb-bd25-28c8c69b30ff",
- "name": "8e28c923-5cf2-43cb-bd25-28c8c69b30ff",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW3000",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/ee1df062-4f3c-42ad-91bf-58b2a7c351e4",
- "name": "ee1df062-4f3c-42ad-91bf-58b2a7c351e4",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DW6000",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9cfc850f-d57f-4760-b5a6-bb640d268bf0",
- "name": "9cfc850f-d57f-4760-b5a6-bb640d268bf0",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DS100",
- "isDefault": true,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/053407ef-f01c-46f4-b829-96e01a14f449",
- "name": "053407ef-f01c-46f4-b829-96e01a14f449",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DS200",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/013a9e10-cafc-45a8-8fcf-93095655d2ce",
- "name": "013a9e10-cafc-45a8-8fcf-93095655d2ce",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DS300",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/79f61db4-8c10-46ba-a93a-d7d02dddd61c",
- "name": "79f61db4-8c10-46ba-a93a-d7d02dddd61c",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DS400",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/44eaac33-df00-4ef4-a2bb-f7ff87899eea",
- "name": "44eaac33-df00-4ef4-a2bb-f7ff87899eea",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DS500",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72",
- "name": "f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DS600",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b9ed8f51-a414-42dc-8348-e4a1de25e12b",
- "name": "b9ed8f51-a414-42dc-8348-e4a1de25e12b",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DS1000",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/07479569-6d70-47a5-8db6-0af55d34f2c1",
- "name": "07479569-6d70-47a5-8db6-0af55d34f2c1",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DS1200",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/2d79baec-2879-46d5-9f5d-fb70eb004c4e",
- "name": "2d79baec-2879-46d5-9f5d-fb70eb004c4e",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DS1500",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee",
- "name": "7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "DS2000",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/d1737d22-a8ea-4de7-9bd0-33395d2a7419",
- "name": "d1737d22-a8ea-4de7-9bd0-33395d2a7419",
- "type": "Microsoft.Sql/servers/serviceObjectives",
- "location": "Central US",
- "properties": {
- "serviceObjectiveName": "ElasticPool",
- "isDefault": false,
- "isSystem": false,
- "description": null,
- "enabled": true
- }
- }
- ]
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7",
+ "name": "26e021db-f1f9-4c98-84c6-92af8ef433d7",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "System",
+ "isDefault": false,
+ "isSystem": true,
+ "description": null,
+ "enabled": false
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/29dd7459-4a7c-4e56-be22-f0adda49440d",
+ "name": "29dd7459-4a7c-4e56-be22-f0adda49440d",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "System0",
+ "isDefault": false,
+ "isSystem": true,
+ "description": null,
+ "enabled": false
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/c99ac918-dbea-463f-a475-16ec020fdc12",
+ "name": "c99ac918-dbea-463f-a475-16ec020fdc12",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "System1",
+ "isDefault": false,
+ "isSystem": true,
+ "description": null,
+ "enabled": false
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa",
+ "name": "620323bf-2879-4807-b30d-c2e6d7b3b3aa",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "System2",
+ "isDefault": false,
+ "isSystem": true,
+ "description": null,
+ "enabled": false
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/33d0db1f-6893-4210-99f9-463fb9b496a4",
+ "name": "33d0db1f-6893-4210-99f9-463fb9b496a4",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "System3",
+ "isDefault": false,
+ "isSystem": true,
+ "description": null,
+ "enabled": false
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/da24338c-a6c9-46c2-a4bf-4ac95b496ae4",
+ "name": "da24338c-a6c9-46c2-a4bf-4ac95b496ae4",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "System4",
+ "isDefault": false,
+ "isSystem": true,
+ "description": null,
+ "enabled": false
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9",
+ "name": "53f7fa1b-b0d0-43d6-bc29-c5f059fb36e9",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "System2L",
+ "isDefault": false,
+ "isSystem": true,
+ "description": null,
+ "enabled": false
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/e79cd55c-689f-48d9-bffa-0dd12c772248",
+ "name": "e79cd55c-689f-48d9-bffa-0dd12c772248",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "System3L",
+ "isDefault": false,
+ "isSystem": true,
+ "description": null,
+ "enabled": false
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4b37bb6d-e004-47ac-8f7a-be56ac9fb490",
+ "name": "4b37bb6d-e004-47ac-8f7a-be56ac9fb490",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "System4L",
+ "isDefault": false,
+ "isSystem": true,
+ "description": null,
+ "enabled": false
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/6aa3bb3e-7f50-40d6-95ef-5497c30d99d8",
+ "name": "6aa3bb3e-7f50-40d6-95ef-5497c30d99d8",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "Free",
+ "isDefault": true,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c",
+ "name": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "Basic",
+ "isDefault": true,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f1173c43-91bd-4aaa-973c-54e79e15235b",
+ "name": "f1173c43-91bd-4aaa-973c-54e79e15235b",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "S0",
+ "isDefault": true,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928",
+ "name": "1b1ebd4d-d903-4baa-97f9-4ea675f5e928",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "S1",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/455330e1-00cd-488b-b5fa-177c226f28b7",
+ "name": "455330e1-00cd-488b-b5fa-177c226f28b7",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "S2",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40",
+ "name": "789681b8-ca10-4eb0-bdf2-e0b050601b40",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "S3",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d",
+ "name": "7203483a-c4fb-4304-9e9f-17c71c904f5d",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "P1",
+ "isDefault": true,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0",
+ "name": "a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "P2",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc",
+ "name": "afe1eee1-1f12-4e5f-9ad6-2de9c12cb4dc",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "P4",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/43940481-9191-475a-9dba-6b505615b9aa",
+ "name": "43940481-9191-475a-9dba-6b505615b9aa",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "P6",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dd00d544-bbc0-4f61-ba60-cdce0c410288",
+ "name": "dd00d544-bbc0-4f61-ba60-cdce0c410288",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "P11",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71",
+ "name": "5bc86cca-9a96-4a94-90ef-bbdfcfbf2d71",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "P15",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/dfdc102c-ed02-4349-9756-e227f0e43bb8",
+ "name": "dfdc102c-ed02-4349-9756-e227f0e43bb8",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "PRS1",
+ "isDefault": true,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/a089506e-b47a-4f42-8a32-cc19af4c86fb",
+ "name": "a089506e-b47a-4f42-8a32-cc19af4c86fb",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "PRS2",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/39cb8faf-cba8-4b1b-b580-1e1202f2a024",
+ "name": "39cb8faf-cba8-4b1b-b580-1e1202f2a024",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "PRS4",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/1e8da92e-efcd-4682-9140-bf6582120d1f",
+ "name": "1e8da92e-efcd-4682-9140-bf6582120d1f",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "PRS6",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/4e63cb0e-91b9-46fd-b05c-51fdd2367618",
+ "name": "4e63cb0e-91b9-46fd-b05c-51fdd2367618",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW100",
+ "isDefault": true,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99e78a92-d724-4e1b-857b-2be661f3d153",
+ "name": "99e78a92-d724-4e1b-857b-2be661f3d153",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW200",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/284f1aff-fee7-4d3b-a211-5b8ebdd28fea",
+ "name": "284f1aff-fee7-4d3b-a211-5b8ebdd28fea",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW300",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/3bdaeefe-8a9d-41d3-91c4-46ef896b19af",
+ "name": "3bdaeefe-8a9d-41d3-91c4-46ef896b19af",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW400",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d",
+ "name": "5f759b78-8ec0-4dfb-97cc-c1455a3b5b4d",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW500",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/efd65c5b-af7b-4389-9109-f6a69d6a3885",
+ "name": "efd65c5b-af7b-4389-9109-f6a69d6a3885",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW600",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb",
+ "name": "b89b9c6a-4ec2-4eb8-99db-6d2807e6aabb",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW1000",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9a7a374e-b95c-4fd5-a68e-131d60796c47",
+ "name": "9a7a374e-b95c-4fd5-a68e-131d60796c47",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW1200",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b930f58e-86b5-43e0-a2da-d8bf8769c557",
+ "name": "b930f58e-86b5-43e0-a2da-d8bf8769c557",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW1500",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/99165ede-a5ab-4b52-b317-e391d92ec370",
+ "name": "99165ede-a5ab-4b52-b317-e391d92ec370",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW2000",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/8e28c923-5cf2-43cb-bd25-28c8c69b30ff",
+ "name": "8e28c923-5cf2-43cb-bd25-28c8c69b30ff",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW3000",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/ee1df062-4f3c-42ad-91bf-58b2a7c351e4",
+ "name": "ee1df062-4f3c-42ad-91bf-58b2a7c351e4",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DW6000",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/9cfc850f-d57f-4760-b5a6-bb640d268bf0",
+ "name": "9cfc850f-d57f-4760-b5a6-bb640d268bf0",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DS100",
+ "isDefault": true,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/053407ef-f01c-46f4-b829-96e01a14f449",
+ "name": "053407ef-f01c-46f4-b829-96e01a14f449",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DS200",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/013a9e10-cafc-45a8-8fcf-93095655d2ce",
+ "name": "013a9e10-cafc-45a8-8fcf-93095655d2ce",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DS300",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/79f61db4-8c10-46ba-a93a-d7d02dddd61c",
+ "name": "79f61db4-8c10-46ba-a93a-d7d02dddd61c",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DS400",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/44eaac33-df00-4ef4-a2bb-f7ff87899eea",
+ "name": "44eaac33-df00-4ef4-a2bb-f7ff87899eea",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DS500",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72",
+ "name": "f8e0f3a6-888b-459c-a9dd-d74d8b2b0e72",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DS600",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/b9ed8f51-a414-42dc-8348-e4a1de25e12b",
+ "name": "b9ed8f51-a414-42dc-8348-e4a1de25e12b",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DS1000",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/07479569-6d70-47a5-8db6-0af55d34f2c1",
+ "name": "07479569-6d70-47a5-8db6-0af55d34f2c1",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DS1200",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/2d79baec-2879-46d5-9f5d-fb70eb004c4e",
+ "name": "2d79baec-2879-46d5-9f5d-fb70eb004c4e",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DS1500",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee",
+ "name": "7fb5389f-6d15-4e0b-9540-fe5ecdfdbeee",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "DS2000",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlcrudtest/serviceObjectives/d1737d22-a8ea-4de7-9bd0-33395d2a7419",
+ "name": "d1737d22-a8ea-4de7-9bd0-33395d2a7419",
+ "type": "Microsoft.Sql/servers/serviceObjectives",
+ "location": "Central US",
+ "properties": {
+ "serviceObjectiveName": "ElasticPool",
+ "isDefault": false,
+ "isSystem": false,
+ "description": null,
+ "enabled": true
+ }
+ }
+ ]
+ }
}
}
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json
index efcbfe6166c9..04d83a09b36d 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceTierAdvisorList.json
@@ -8,40 +8,42 @@
},
"responses": {
"200": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/serviceTierAdvisors/Current",
- "name": "Current",
- "type": "Microsoft.Sql/servers/databases/serviceTierAdvisors",
- "properties": {
- "observationPeriodStart": "2017-07-12T12:00:00Z",
- "observationPeriodEnd": "2017-07-26T13:00:00Z",
- "activeTimeRatio": 0.0,
- "minDtu": 0.0,
- "avgDtu": 0.0,
- "maxDtu": 0.0,
- "maxSizeInGB": 0.0234375,
- "serviceLevelObjectiveUsageMetrics": [
- {
- "serviceLevelObjective": "Basic",
- "serviceLevelObjectiveId": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c",
- "inRangeTimeRatio": 1.0
- }
- ],
- "currentServiceLevelObjective": "S0",
- "currentServiceLevelObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
- "usageBasedRecommendationServiceLevelObjective": null,
- "usageBasedRecommendationServiceLevelObjectiveId": null,
- "databaseSizeBasedRecommendationServiceLevelObjective": null,
- "databaseSizeBasedRecommendationServiceLevelObjectiveId": null,
- "disasterPlanBasedRecommendationServiceLevelObjective": null,
- "disasterPlanBasedRecommendationServiceLevelObjectiveId": null,
- "overallRecommendationServiceLevelObjective": null,
- "overallRecommendationServiceLevelObjectiveId": null,
- "confidence": 1.0
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/serviceTierAdvisors/Current",
+ "name": "Current",
+ "type": "Microsoft.Sql/servers/databases/serviceTierAdvisors",
+ "properties": {
+ "observationPeriodStart": "2017-07-12T12:00:00Z",
+ "observationPeriodEnd": "2017-07-26T13:00:00Z",
+ "activeTimeRatio": 0.0,
+ "minDtu": 0.0,
+ "avgDtu": 0.0,
+ "maxDtu": 0.0,
+ "maxSizeInGB": 0.0234375,
+ "serviceLevelObjectiveUsageMetrics": [
+ {
+ "serviceLevelObjective": "Basic",
+ "serviceLevelObjectiveId": "dd6d99bb-f193-4ec1-86f2-43d3bccbc49c",
+ "inRangeTimeRatio": 1.0
+ }
+ ],
+ "currentServiceLevelObjective": "S0",
+ "currentServiceLevelObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b",
+ "usageBasedRecommendationServiceLevelObjective": null,
+ "usageBasedRecommendationServiceLevelObjectiveId": null,
+ "databaseSizeBasedRecommendationServiceLevelObjective": null,
+ "databaseSizeBasedRecommendationServiceLevelObjectiveId": null,
+ "disasterPlanBasedRecommendationServiceLevelObjective": null,
+ "disasterPlanBasedRecommendationServiceLevelObjectiveId": null,
+ "overallRecommendationServiceLevelObjective": null,
+ "overallRecommendationServiceLevelObjectiveId": null,
+ "confidence": 1.0
+ }
}
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json
index 2d061e53b8c8..6a3a269d6209 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json
@@ -48,8 +48,6 @@
"type": "Microsoft.StorSimple/managers/accessControlRecords"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json
index bc16eaf2aa23..5b8c01f8cbba 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json
@@ -17,9 +17,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json
index a89870bfcfc2..3bb3fe23a9c3 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json
@@ -29,8 +29,6 @@
}
},
"responses": {
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json
index 41e10692706d..af925c5b4520 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json
@@ -30,8 +30,6 @@
}
},
"responses": {
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json
index c7d173b4a935..33b2b685f1df 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json
@@ -55,8 +55,6 @@
"type": "Microsoft.StorSimple/managers/devices/backupScheduleGroups"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json
index 0dfb75402c8a..ff35a2bf9024 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json
@@ -18,9 +18,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json
index 5aa5a38c12cc..1b83dfc49d75 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json
@@ -53,11 +53,7 @@
}
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json
index 928ccb9ef2bb..2bd56cc4f620 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json
@@ -19,9 +19,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json
index e2ac7d0f0763..56d706fe76cb 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json
@@ -57,8 +57,6 @@
"type": "Microsoft.StorSimple/managers/devices/chapSettings"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json
index 2a49f6b662e9..71472ac1df3f 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json
@@ -18,11 +18,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json
index e8848ea7ffd7..a49bb42597a8 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json
@@ -49,8 +49,6 @@
"type": "Microsoft.StorSimple/managers/devices/alertSettings"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json
index b64d90ac61b6..753ecf45fdbd 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json
@@ -16,11 +16,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json
index 8f1583571bb2..50faf6b1cec4 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json
@@ -7,9 +7,7 @@
"api-version": "2016-10-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json
index 8f1583571bb2..50faf6b1cec4 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json
@@ -7,9 +7,7 @@
"api-version": "2016-10-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json
index 75eb768074e4..c412747a0b03 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json
@@ -7,9 +7,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json
index 7847602ec1dc..34c945ebf351 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json
@@ -16,11 +16,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json
index 75eb768074e4..c412747a0b03 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json
@@ -7,9 +7,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json
index 4533d3cbb157..1c9b312a9940 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json
@@ -34,8 +34,6 @@
"type": "Microsoft.StorSimple/managers/devices"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json
index d3ca658cdb5b..435918306cdb 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json
@@ -17,11 +17,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json
index 626c6cb198b9..130f5be93537 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json
@@ -18,9 +18,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json
index ca67541a5c4c..81a7900c1284 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json
@@ -55,8 +55,6 @@
"type": "Microsoft.StorSimple/managers/devices/fileServers"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json
index 4d88975ec22e..fe40d53e85c0 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json
@@ -18,9 +18,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json
index 934f819e383d..4036c6f247eb 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json
@@ -62,8 +62,6 @@
"type": "Microsoft.StorSimple/managers/devices/fileServers/shares"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json
index 321633dbccf6..39b1d814bb19 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json
@@ -19,9 +19,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json
index ca4db292a6e6..1531924ffb18 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json
@@ -62,8 +62,6 @@
"type": "Microsoft.StorSimple/managers/devices/iscsiServers/disks"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json
index e9887ffdacfb..2d9708633f3c 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json
@@ -19,9 +19,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json
index eefa7e45f1c9..f0268101f918 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json
@@ -18,9 +18,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json
index deb51e92be5a..39413b632d2f 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json
@@ -57,8 +57,6 @@
"type": "Microsoft.StorSimple/managers/devices/iscsiServers"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json
index dbab611876b2..d325e72b4720 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json
@@ -18,9 +18,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json
index 4371a7be4ca2..86115e8b10f6 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json
@@ -6,9 +6,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "200": {
- "body": ""
- },
+ "200": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json
index 21809246b735..24a0263eb712 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json
@@ -6,8 +6,6 @@
"api-version": "2016-10-01"
},
"responses": {
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json
index ed9a737cb881..c1f0f58aec3d 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json
@@ -61,8 +61,6 @@
"type": "Microsoft.StorSimple/managers/storageAccountCredentials"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json
index feff0636054a..32ea50476e10 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json
@@ -17,9 +17,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json
index 8737f10beb67..805e5e07bdd4 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json
@@ -54,8 +54,6 @@
"type": "Microsoft.StorSimple/managers/storageDomains"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json
index 01ee96e13103..66346ff401d2 100644
--- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json
+++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json
@@ -17,9 +17,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json
index 597e3e85946d..9ee20d70725b 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobServicesList.json
@@ -16,7 +16,8 @@
"type": "Microsoft.Storage/storageAccounts/blobServices",
"properties": {
"cors": {
- "corsRules": [{
+ "corsRules": [
+ {
"allowedOrigins": [
"http://www.contoso.com",
"http://www.fabrikam.com"
@@ -87,4 +88,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json
index 4997e5519c20..44666d5baaee 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json
@@ -1349,7 +1349,7 @@
},
"encryption": {
"$ref": "#/definitions/Encryption",
- "description": "Provides the encryption settings on the account. If left unspecified the account encryption settings will remain the same. The default setting is unencrypted."
+ "description": "Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled."
},
"networkAcls": {
"$ref": "#/definitions/NetworkRuleSet",
diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json
index 75342a96a6c7..de5d412a4782 100644
--- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json
+++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json
@@ -207,7 +207,7 @@
"origin": "User"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json
index 7a9bc3dc46ea..03befb20d66d 100644
--- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json
+++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json
@@ -207,7 +207,7 @@
"origin": "User"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json
index fe29a5d1b330..3e87eb100b63 100644
--- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json
+++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json
@@ -207,7 +207,7 @@
"origin": "User"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json
index 3a3f072b5685..b1fddbdce161 100644
--- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json
+++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json
@@ -207,7 +207,7 @@
"origin": "User"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json
index 959524472d3d..3658a084b51f 100644
--- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json
+++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json
@@ -207,7 +207,7 @@
"origin": "User"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json
index d027bda3e3d6..88e9eb6659af 100644
--- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json
+++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json
@@ -207,7 +207,7 @@
"origin": "User"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json
index fd59bf61e70e..91f2651083ea 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json
@@ -13,10 +13,17 @@
},
"responses": {
"200": {
- "body": "{\r\n \"properties\": {\r\n \"initiatorName\": \"iqn.2017-06.com.contoso:ForTest\",\r\n \"volumeCount\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACRForTest\",\r\n \"name\": \"ACRForTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/accessControlRecords\",\r\n \"kind\": \"Series8000\"\r\n}"
+ "body": {
+ "properties": {
+ "initiatorName": "iqn.2017-06.com.contoso:ForTest",
+ "volumeCount": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACRForTest",
+ "name": "ACRForTest",
+ "type": "Microsoft.StorSimple/managers/accessControlRecords",
+ "kind": "Series8000"
+ }
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json
index 1f1271cef74b..f5fde360667f 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json
@@ -7,9 +7,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json
index 7290889ffb84..38bcb119ceff 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json
@@ -13,8 +13,6 @@
}
},
"responses": {
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json
index d8bb0e07573d..fc08bf366e14 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json
@@ -12,8 +12,6 @@
}
},
"responses": {
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json
index d594466be58c..9326763a4fa9 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json
@@ -9,9 +9,7 @@
"backupType": "CloudSnapshot"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json
index ef960fc14488..92d7b8bc5f58 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json
@@ -18,10 +18,22 @@
},
"responses": {
"200": {
- "body": "{\r\n \"properties\": {\r\n \"volumeIds\": [\r\n \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/Clonedvolume1\",\r\n \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/volume1\"\r\n ],\r\n \"schedulesCount\": 0,\r\n \"scheduledBackupStatus\": \"Disabled\",\r\n \"backupPolicyCreationType\": \"BySaaS\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest\",\r\n \"name\": \"BkUpPolicy01ForSDKTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/backupPolicies\",\r\n \"kind\": \"Series8000\"\r\n}"
+ "body": {
+ "properties": {
+ "volumeIds": [
+ "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/Clonedvolume1",
+ "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/volume1"
+ ],
+ "schedulesCount": 0,
+ "scheduledBackupStatus": "Disabled",
+ "backupPolicyCreationType": "BySaaS"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest",
+ "name": "BkUpPolicy01ForSDKTest",
+ "type": "Microsoft.StorSimple/managers/devices/backupPolicies",
+ "kind": "Series8000"
+ }
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json
index 92fa702dbb94..50e51a8190a0 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json
@@ -10,9 +10,7 @@
"$filter": "volumeId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FvolumeContainers%2FvolumeContainerForSDKTest%2Fvolumes%2FClonedvolume1'"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json
index e4e5e8662b9f..2af87acc05f0 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json
@@ -28,10 +28,28 @@
},
"responses": {
"200": {
- "body": "{\r\n \"properties\": {\r\n \"scheduleRecurrence\": {\r\n \"recurrenceType\": \"Weekly\",\r\n \"recurrenceValue\": 1,\r\n \"weeklyDaysList\": [\r\n \"Monday\",\r\n \"Thursday\",\r\n \"Friday\"\r\n ]\r\n },\r\n \"backupType\": \"CloudSnapshot\",\r\n \"retentionCount\": 1,\r\n \"startTime\": \"2017-06-24T01:00:00Z\",\r\n \"scheduleStatus\": \"Enabled\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest/schedules/schedule2\",\r\n \"name\": \"schedule2\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/backupPolicies/schedules\",\r\n \"kind\": \"Series8000\"\r\n}"
+ "body": {
+ "properties": {
+ "scheduleRecurrence": {
+ "recurrenceType": "Weekly",
+ "recurrenceValue": 1,
+ "weeklyDaysList": [
+ "Monday",
+ "Thursday",
+ "Friday"
+ ]
+ },
+ "backupType": "CloudSnapshot",
+ "retentionCount": 1,
+ "startTime": "2017-06-24T01:00:00Z",
+ "scheduleStatus": "Enabled"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest/schedules/schedule2",
+ "name": "schedule2",
+ "type": "Microsoft.StorSimple/managers/devices/backupPolicies/schedules",
+ "kind": "Series8000"
+ }
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json
index c2e7b139a0a1..8e67ee8ab847 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json
@@ -11,9 +11,7 @@
"$filter": "volumeId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FvolumeContainers%2FvolumeContainerForSDKTest%2Fvolumes%2FClonedvolume1'"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json
index 2107f54d211f..f7680a1c58d3 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json
@@ -27,11 +27,7 @@
}
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json
index 2962b76cbccc..aedfa68cb9cc 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json
@@ -10,9 +10,7 @@
"$filter": "volumeId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FvolumeContainers%2FvolumeContainerForSDKTest%2Fvolumes%2FClonedvolume1'"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json
index 3bafa725ff54..6dd5e31ec0c7 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json
@@ -10,11 +10,7 @@
"$filter": "createdTime%20ge%20'2017-06-22T18:30:00Z'%20and%20backupPolicyId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FbackupPolicies%2FBkUpPolicy01ForSDKTest'"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json
index 2850d62d632c..8554f0dd0ab3 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json
@@ -31,10 +31,35 @@
},
"responses": {
"200": {
- "body": "{\r\n \"properties\": {\r\n \"schedules\": [\r\n {\r\n \"start\": {\r\n \"hours\": 10,\r\n \"minutes\": 0,\r\n \"seconds\": 0\r\n },\r\n \"stop\": {\r\n \"hours\": 20,\r\n \"minutes\": 0,\r\n \"seconds\": 0\r\n },\r\n \"rateInMbps\": 10,\r\n \"days\": [\r\n \"Saturday\",\r\n \"Sunday\"\r\n ]\r\n }\r\n ],\r\n \"volumeCount\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/BWSForTest\",\r\n \"name\": \"BWSForTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/bandwidthSettings\",\r\n \"kind\": \"Series8000\"\r\n}"
+ "body": {
+ "properties": {
+ "schedules": [
+ {
+ "start": {
+ "hours": 10,
+ "minutes": 0,
+ "seconds": 0
+ },
+ "stop": {
+ "hours": 20,
+ "minutes": 0,
+ "seconds": 0
+ },
+ "rateInMbps": 10,
+ "days": [
+ "Saturday",
+ "Sunday"
+ ]
+ }
+ ],
+ "volumeCount": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/BWSForTest",
+ "name": "BWSForTest",
+ "type": "Microsoft.StorSimple/managers/bandwidthSettings",
+ "kind": "Series8000"
+ }
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json
index fb88d0cce62e..0379d2c73d3d 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json
@@ -7,9 +7,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json
index b5aa86efb7f6..228d75620262 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json
@@ -11,11 +11,7 @@
}
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json
index cbce44eef9f7..6e2c76e704b7 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json
@@ -16,10 +16,19 @@
},
"responses": {
"200": {
- "body": "{\r\n \"properties\": {\r\n \"emailNotification\": \"Enabled\",\r\n \"alertNotificationCulture\": \"en-US\",\r\n \"notificationToServiceOwners\": \"Enabled\",\r\n \"additionalRecipientEmailList\": []\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/alertSettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/alertSettings\",\r\n \"kind\": \"Series8000\"\r\n}"
+ "body": {
+ "properties": {
+ "emailNotification": "Enabled",
+ "alertNotificationCulture": "en-US",
+ "notificationToServiceOwners": "Enabled",
+ "additionalRecipientEmailList": []
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/alertSettings/default",
+ "name": "default",
+ "type": "Microsoft.StorSimple/managers/devices/alertSettings",
+ "kind": "Series8000"
+ }
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json
index 9b7bc9761b89..eaf8ba7ff48f 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json
@@ -17,10 +17,20 @@
},
"responses": {
"200": {
- "body": "{\r\n \"properties\": {\r\n \"timeZone\": \"Pacific Standard Time\",\r\n \"primaryTimeServer\": \"time.windows.com\",\r\n \"secondaryTimeServer\": [\r\n \"8.8.8.8\"\r\n ]\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/timeSettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/timeSettings\",\r\n \"kind\": \"Series8000\"\r\n}"
+ "body": {
+ "properties": {
+ "timeZone": "Pacific Standard Time",
+ "primaryTimeServer": "time.windows.com",
+ "secondaryTimeServer": [
+ "8.8.8.8"
+ ]
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/timeSettings/default",
+ "name": "default",
+ "type": "Microsoft.StorSimple/managers/devices/timeSettings",
+ "kind": "Series8000"
+ }
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json
index 5516e8326847..947587e75504 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json
@@ -7,9 +7,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json
index f60139eed9f1..0e330d8260a7 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json
@@ -18,10 +18,17 @@
},
"responses": {
"200": {
- "body": "{\r\n \"properties\": {\r\n \"encryptionStatus\": \"Enabled\",\r\n \"keyRolloverStatus\": \"NotRequired\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/encryptionSettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/encryptionSettings\",\r\n \"kind\": \"Series8000\"\r\n}"
+ "body": {
+ "properties": {
+ "encryptionStatus": "Enabled",
+ "keyRolloverStatus": "NotRequired"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/encryptionSettings/default",
+ "name": "default",
+ "type": "Microsoft.StorSimple/managers/encryptionSettings",
+ "kind": "Series8000"
+ }
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json
index 7cc7b56dbbec..e28c51f74e9f 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json
@@ -39,10 +39,23 @@
},
"responses": {
"200": {
- "body": "{\r\n \"properties\": {\r\n \"remoteManagementSettings\": {\r\n \"remoteManagementMode\": \"HttpsAndHttpEnabled\",\r\n \"remoteManagementCertificate\": \"\"\r\n },\r\n \"chapSettings\": {\r\n \"initiatorUser\": \"test-initiator-user\",\r\n \"targetUser\": \"test-target-user\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/securitySettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/securitySettings\",\r\n \"kind\": \"Series8000\"\r\n}"
+ "body": {
+ "properties": {
+ "remoteManagementSettings": {
+ "remoteManagementMode": "HttpsAndHttpEnabled",
+ "remoteManagementCertificate": ""
+ },
+ "chapSettings": {
+ "initiatorUser": "test-initiator-user",
+ "targetUser": "test-target-user"
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/securitySettings/default",
+ "name": "default",
+ "type": "Microsoft.StorSimple/managers/devices/securitySettings",
+ "kind": "Series8000"
+ }
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json
index f1cdbab261a4..2e7b6db4b4c7 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json
@@ -7,8 +7,6 @@
"api-version": "2017-06-01"
},
"responses": {
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json
index 9bbeed98eda1..8dc79006ee78 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json
@@ -18,9 +18,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json
index 11d2e83ca85b..f47c8d1bf50a 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json
@@ -8,11 +8,7 @@
"$expand": "details"
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json
index 4df17eaa164d..f47c8d1bf50a 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json
@@ -8,9 +8,7 @@
"$expand": "details"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json
index 3d881a921a04..996746500f2f 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json
@@ -13,9 +13,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json
index 75eb768074e4..c412747a0b03 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json
@@ -7,9 +7,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json
index 75eb768074e4..c412747a0b03 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json
@@ -7,9 +7,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json
index 36040718b062..1d7143a37532 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json
@@ -16,9 +16,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json
index 16762e269a93..2624550b3781 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json
@@ -10,9 +10,7 @@
"$filter": "jobType%20eq%20'ManualBackup'"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json
index 4371a7be4ca2..86115e8b10f6 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json
@@ -6,9 +6,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "200": {
- "body": ""
- },
+ "200": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json
index 85f50b3d9e61..ab11fca71eea 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json
@@ -6,8 +6,6 @@
"api-version": "2017-06-01"
},
"responses": {
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json
index 95bafa9e8c62..1201c00215f7 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json
@@ -19,10 +19,18 @@
},
"responses": {
"200": {
- "body": "{\r\n \"properties\": {\r\n \"endPoint\": \"blob.core.windows.net\",\r\n \"sslStatus\": \"Enabled\",\r\n \"volumesCount\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/SACForTest\",\r\n \"name\": \"SACForTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/storageAccountCredentials\",\r\n \"kind\": \"Series8000\"\r\n}"
+ "body": {
+ "properties": {
+ "endPoint": "blob.core.windows.net",
+ "sslStatus": "Enabled",
+ "volumesCount": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/SACForTest",
+ "name": "SACForTest",
+ "type": "Microsoft.StorSimple/managers/storageAccountCredentials",
+ "kind": "Series8000"
+ }
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json
index 2f9d0e62f46f..a890212b7db1 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json
@@ -7,9 +7,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json
index 1872809b3e4c..1d9e4c0ab45d 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json
@@ -20,10 +20,21 @@
},
"responses": {
"200": {
- "body": "{\r\n \"properties\": {\r\n \"encryptionStatus\": \"Enabled\",\r\n \"volumeCount\": 1,\r\n \"storageAccountCredentialId\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording\",\r\n \"ownerShipStatus\": \"Owned\",\r\n \"bandwidthSettingId\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1\",\r\n \"totalCloudStorageUsageInBytes\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest\",\r\n \"name\": \"VolumeContainerForSDKTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/volumeContainers\",\r\n \"kind\": \"Series8000\"\r\n}"
+ "body": {
+ "properties": {
+ "encryptionStatus": "Enabled",
+ "volumeCount": 1,
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording",
+ "ownerShipStatus": "Owned",
+ "bandwidthSettingId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1",
+ "totalCloudStorageUsageInBytes": 0
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest",
+ "name": "VolumeContainerForSDKTest",
+ "type": "Microsoft.StorSimple/managers/devices/volumeContainers",
+ "kind": "Series8000"
+ }
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json
index 2203b40dbe2a..c21a2b1a2a32 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json
@@ -8,9 +8,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json
index 393b74f3ea4c..a4484ff3642a 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json
@@ -21,10 +21,25 @@
},
"responses": {
"200": {
- "body": "{\r\n \"properties\": {\r\n \"sizeInBytes\": 5368709120,\r\n \"volumeType\": \"Tiered\",\r\n \"volumeContainerId\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest\",\r\n \"accessControlRecordIds\": [\r\n \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2\"\r\n ],\r\n \"volumeStatus\": \"Offline\",\r\n \"operationStatus\": \"None\",\r\n \"backupStatus\": \"Disabled\",\r\n \"monitoringStatus\": \"Enabled\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest/volumes/Volume1ForSDKTest\",\r\n \"name\": \"Volume1ForSDKTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/volumeContainers/volumes\",\r\n \"kind\": \"Series8000\"\r\n}"
+ "body": {
+ "properties": {
+ "sizeInBytes": 5368709120,
+ "volumeType": "Tiered",
+ "volumeContainerId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest",
+ "accessControlRecordIds": [
+ "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2"
+ ],
+ "volumeStatus": "Offline",
+ "operationStatus": "None",
+ "backupStatus": "Disabled",
+ "monitoringStatus": "Enabled"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest/volumes/Volume1ForSDKTest",
+ "name": "Volume1ForSDKTest",
+ "type": "Microsoft.StorSimple/managers/devices/volumeContainers/volumes",
+ "kind": "Series8000"
+ }
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json
index df3dc3612386..f0a1eb4548d1 100644
--- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json
+++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json
@@ -9,9 +9,7 @@
"api-version": "2017-06-01"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json
index cc487360b8bf..46dc503a77f0 100644
--- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json
@@ -140,7 +140,11 @@
},
"ModernSubscriptionCreationParameters": {
"description": "The parameters required to create a new subscription.",
- "required": ["displayName","billingProfileId","skuId"],
+ "required": [
+ "displayName",
+ "billingProfileId",
+ "skuId"
+ ],
"properties": {
"displayName": {
"description": "The friendly name of the subscription.",
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json
index 13e4cef06ff4..56fdb0884237 100644
--- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json
@@ -9,6 +9,5 @@
"value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
}
}
- }
+ }
}
-
\ No newline at end of file
diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json
index 3ee346986a32..e97484fe7f4e 100644
--- a/specificationRepositoryConfiguration.json
+++ b/specificationRepositoryConfiguration.json
@@ -10,25 +10,25 @@
},
"azure-sdk-for-java": {
"generationRepository": "AzureSDKAutomation/azure-sdk-for-java",
- "mainRepository": "Azure/azure-sdk-for-java"
+ "mainRepository": "test-repo-billy/azure-sdk-for-java"
},
"azure-sdk-for-js": {
"generationRepository": "AzureSDKAutomation/azure-sdk-for-js",
- "mainRepository": "Azure/azure-sdk-for-js"
+ "mainRepository": "test-repo-billy/azure-sdk-for-js"
},
"azure-sdk-for-net": {
"generationRepository": "AzureSDKAutomation/azure-sdk-for-net",
- "mainRepository": "Azure/azure-sdk-for-net"
+ "mainRepository": "test-repo-billy/azure-sdk-for-net"
},
"azure-sdk-for-python": {
"generationRepository": "AzureSDKAutomation/azure-sdk-for-python",
"integrationRepository": "AzureSDKAutomation/azure-sdk-for-python",
- "mainRepository": "Azure/azure-sdk-for-python"
+ "mainRepository": "test-repo-billy/azure-sdk-for-python"
},
"azure-sdk-for-ruby": {
"mainBranch": "latest",
"generationRepository": "AzureSDKAutomation/azure-sdk-for-ruby",
- "mainRepository": "Azure/azure-sdk-for-ruby"
+ "mainRepository": "test-repo-billy/azure-sdk-for-ruby"
}
}
}